We configured Adobe Experience Manager (AEM) as an OAuth 2 client using a custom provider and setting up the Adobe "Granite OAuth Application and Provider."
Overall, the configuration is working fine, but we have encountered a couple of challenges related to the access token payload and cookie encryption. We would appreciate your guidance on the following matters:
Access Token Payload:
We would like to access the properties present in the access token payload. Could you please provide us with information on how we can access the access token payload within our AEM implementation? Any guidance or code examples would be highly appreciated.
Encrypted Cookie:
We attempted to save the access token in a cookie for further usage. However, we noticed that the cookie is encrypted. We would like to decrypt the cookie to extract the access token when necessary. Can you please advise us on the appropriate method or steps to decrypt the cookie and retrieve the access token?
Solved! Go to Solution.
Views
Replies
Total Likes
you can use jwt.io to decode the access token.
please refer to https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/verify-jwt-token-registere...and https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4... for details.
@Preetpal_Bindra @Harwinder-singh @Gaurav_Sachdeva_ @DPrakashRaj @MayurSatav @Rohan_Garg @aanchal-sikka Can you please review this unanswered question? Appreciate your thoughts on this.
Views
Replies
Total Likes
you can use jwt.io to decode the access token.
please refer to https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/verify-jwt-token-registere...and https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4... for details.