Adobe Exchange JWT to an Access token
Do these steps to exchange the JWT token to an Access token that can be used to perform the actions on adobe API.
in iHub
Create a new Action
enter a name like adobe exchange access token
click Create
Change method to POST
Select Attachment policy to latest to convert the call to form vars
Add the formvars
client_id | find this in the web console in adobe |
client_secret | find this in the web console in adobe |
jwt_token | use the Adobe - Get JWT token guide to get the JWT token |
Save the Action
Click Test
Result should be a 200 OK response in the Execution log with the access token in it.
Â
{
"token_type": "bearer",
"access_token": "...",
"expires_in": 86399998
}
Example response