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

7 replies

MayurSatav
Community Advisor
Community Advisor
June 7, 2022

Hi @sriram_1 ,

 

If I understand your question correctly, You want to give access to external services/sites without visiting the authentication page and adding credentials right?.

You can use Adobe Granite OAuth 2.0 Server functionalities to grant resource access to external clients in AEM.

 

https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4c7a5ef

 

Translate
Mayur Satav | www.mayursatav.in
sriram_1Author
Level 3
June 7, 2022

Hi Mayur

Thanks for the immediate response,

I have gone through the above link where the user needs to manually authorize(shared in below pic(this step i need to avoid)).

we need to have server to server authentication where user interface is not needed

 

Thank you

 

 

 

Translate
MayurSatav
Community Advisor
Community Advisor
June 7, 2022

One time authorisation is required while accessing any protected resource. Can you tell me which type of resource you want to make available for external requests?. But if you want to perform some administration operations you can create a service user.

Translate
Mayur Satav | www.mayursatav.in
Mayank_Gandhi
Adobe Employee
Adobe Employee
June 7, 2022

@sriram_1 How would you obtain and pass the auth token from the client-side without any interface?

Translate
sriram_1Author
Level 3
June 7, 2022

JWT Bearer Token— Server to Server integration

Let us now see how to use the JWT Bearer token to enable the server to server integration without the resource owner’s intervention.

 

OAuth 2.0 Server Functionalities in AEM — Deep Dive | How to Manage the Protected AEM Resources through OAuth 2.0 | by Albin Issac | Tech Learnings | Medium

Translate