Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Request for Guidance: Implementing OAuth2 Authentication in AEMaaCS with Sample Code

Avatar

Level 4

Hello,

 

 

 I need to implement OAuth2-based authentication in AEM as a Cloud Service (AEMaaCS). I’d appreciate your guidance on the steps involved in setting this up, and if possible, I’d like to request any code samples or references that can help validate if a user is authenticated successfully.

Specifically, I’m looking for:

  • Steps to configure OAuth2 in AEMaaCS.

  • Required configuration changes (e.g., OSGi settings, dispatcher rules, Adobe IMS if applicable).

  • Any best practices for securing the endpoints or integrating with an identity provider.

  • Sample code to check authentication status on AEM components or servlets.

Your assistance or any reference documentation would be extremely helpful.

Thank you in advance!

 

Regards,

Srinivas

1 Accepted Solution

Avatar

Correct answer by
Level 2



Hi Srinivas,

OAuth-based authentication is supported on the Publisher tier in AEM as a Cloud Service (AEMaaCS). You can refer to Adobe’s official documentation for guidance on configuring authentication in AEMaaCS:

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/authentication/aut...

 

Additionally, while the below implementation is in  AEM 6.5 (not AEMaaCS), it offers valuable insights into integrating OAuth 2.0 with AEM using a custom client:

🔗 OAuth 2.0 Client Integration in AEM 6.5 – WillowTree

 

Regards,

Shankar Angadi

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2



Hi Srinivas,

OAuth-based authentication is supported on the Publisher tier in AEM as a Cloud Service (AEMaaCS). You can refer to Adobe’s official documentation for guidance on configuring authentication in AEMaaCS:

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/authentication/aut...

 

Additionally, while the below implementation is in  AEM 6.5 (not AEMaaCS), it offers valuable insights into integrating OAuth 2.0 with AEM using a custom client:

🔗 OAuth 2.0 Client Integration in AEM 6.5 – WillowTree

 

Regards,

Shankar Angadi

 

Avatar

Level 4

Thanks @shankar__angadi