Integrating azure entra id with AEM 6.5 for oauth2 credentials grant type to access aem servlet | Community
Skip to main content
New Participant
February 11, 2025

Integrating azure entra id with AEM 6.5 for oauth2 credentials grant type to access aem servlet

Hello,

We want to integrate azure ad/azure entra id as oauth2 provider where third party application can access aem servlet(author environment) by getting access token from azure using client credentials grant type(2 legged authentication).

 

I am not finding any good documentation for it.

 

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

TarunKumar
New Participant
February 11, 2025

Hi @varun2412 ,

 As per my understanding AEM supports 3 legged Oauth. But for 2 legged, the implementation would be same as 3-legged except you won't pass token and secret but empty strings. Client Application will need to have its client ID and secret stored in a secure manner.
 You can follow below links:-
 https://www.albinsblog.com/2017/07/exposing-resources-through-oauth-aem.html#.XJByjSIzbIW 
OAuth Server functionality in AEM - Embrace Federation and unleash your REST APIs!

 

 

-Tarun

Translate
varun2412Author
New Participant
February 11, 2025

Hi @tarunkumar 

 

Article which you sent...still showing 3 legged oauth.

We want to skip authorization step and directly get access token from azure ad and call aem servlet.

It is server-to-servet. Securing it by oauth instead of basic auth.

 

In which step we need to pass empty string? Is there any working example of it?

 

Thanks.

Translate