Hi,
We have a requirement to automate the aem api call. How to add the oAuth in our code as authentication to access the our cloud env programmatically and make api call?
Thank You.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Keerthana_H_N,
You can generate Integration accounts/tokens in the Developer Console. See https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Good luck,
Daniel
Thanks for your reply,
We need to authenticate the AEM API using a bearer token, obtained via an OAuth token, as JWT tokens are now deprecated for AEM Cloud. The token should be fetched using an integration account.
Our primary challenge is establishing this connection with AEM Cloud using Java (not JavaScript). Could you suggest a solution or provide guidance on achieving this?
Thanks
Views
Replies
Total Likes
Hi @Keerthana_H_N,
For AEM Integration (Technical) accounts, Oauth is not supported and it relies on JWT for authentication. From Adobe's official documentation:
"The AEM Developer Console (note the AEM in the name, which distinguishes it from the Adobe Developer Console) provides a utility to generate JWT tokens used for server-to-server APIs. These credentials are not deprecated and can continue to be used."
Documentation for setting up integration accounts in AEMaaCS: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Sample code to generate JWT payload in different programming languages: https://developer.adobe.com/developer-console/docs/guides/authentication/JWT/samples/
fyi - @PriyankaKu
Hope this helps,
Vinay
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies