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

  1. Create a new Action

  2. enter a name like adobe exchange access token

  3. click Create

  4. Change method to POST

  5. Add URL https://ims-na1.adobelogin.com/ims/exchange/jwt

  6. Select Attachment policy to latest to convert the call to form vars

  7. 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

  1. Save the Action

  2. Click Test

  3. 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