Challenge:
As an Administrator you are planning to use the ADvendio Booking Calendar Lightning and Inventory Forecast features, in order to automate your business flows and be more efficient but you are getting the following error or are working on the setup:
Error: Error create JWT access token
Solution:
Don’t worry, this message doesn’t mean there is a problem, but just that you need to allow the ADvendio Gateway to access your data for our features to work.
If you have the Connect module implemented you can just continue with the steps described here: 1.6 How to authenticate / authorize ADvendio Gateway for the use of our Third Party System integrations? - Authorize ADvendio message / OAuth
Which data is accessed?
The ADvendio Gateway will only access Salesforce data that is required for its features. This mainly covers ADvendio objects such as Media Campaigns or Campaign Items.
We will not access any personal user information such as address, email or date of birth.
To configure this, you need to do the following:
Change the ADvendio connected app settings
First of, go to the Salesforce Setup and look for the ‘Manage Connected Apps’ section.
Once there, you need to click the ‘Edit’ button next to the connected app called: ADvendio.
You will see a setup page. One of the options is labeled permitted users. Please change this setting to ‘Admin approved users are pre-authorized’
This now changed the ADvendio connection, so that users won’t authorize themselves, but the Admin chooses which users are authorized.
Assign ADvendio Connected App permissions
Next step is to assign access permissions to the required users for the ADvendio connected app. This can be done via Permission Sets or User Profiles.
As an example we show here, how it is done for permission sets.
When editing your permission set, open ‘Assigned Connected Apps’
Now you see a list of all Connected Apps. Select ADvendio and move it to the list on the right, so that it is enabled for the permission set.
Now continue to save the permission set and assign it to the users, which need to access ADvendio connect.