oAuth access programmatically for AEMaaCS | Community
Skip to main content

2 replies

New Participant
January 8, 2025

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

Link: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/jwt-credentials-deprecation-in-adobe-developer-console

 

Documentation for setting up integration accounts in AEMaaCS: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/developing/generating-access-tokens-for-server-side-apis

 

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

 

 

 

daniel-strmecki
New Participant
December 2, 2024
Employee
December 3, 2024

Hi @daniel-strmecki 

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