Hello I am trying to buld a post api from wordpress to adobe campaign and I am wondering how to extend the access token expiry length. Having it expire after
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
You can get a JWT generation token python script from Adobe Support and update the expiry_time (see screenshot below)
Thanks,
David
Views
Replies
Total Likes
Hi @Seanie2,
Access tokens are by default set to valid for 24hours. You can't change/extend expiry of access token.
In addition JWT Tokens are an open standard. Using a standard or open source library along with their private key to programmatically generate a JWT tokens. They then use their own generated JWT token to authenticate with adobe.io and exchange it for an API access token to use in subsequent calls to interact with adobe campaign.
You can use libraries listed here to setup token exchange programmatically.
https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/JWT.md
Thanks, SK
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi,
You can get a JWT generation token python script from Adobe Support and update the expiry_time (see screenshot below)
Thanks,
David
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @Seanie2
Github repo where you can find PHP code example for JWT creation and reference method that exchanges JWT with Adobe IMS Endpoint to retrieve an access token.
Thanks,
David
Views
Replies
Total Likes
Views
Likes
Replies