Expand my Community achievements bar.

oAuth access programmatically for AEMaaCS

Avatar

Employee

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

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Employee

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