Secure AEM Graphql Endpoint With OAuth OKTA | Community
Skip to main content
Level 3
January 25, 2023
Solved

Secure AEM Graphql Endpoint With OAuth OKTA

  • January 25, 2023
  • 2 replies
  • 1703 views

Hi All,

 

We have a business requirement where we need to secure AEM graphql endpoint with OKTA. It will be used for application to application authentication. 


We are using AEM 6.5 Serve pack 13. (Not on AEM as a cloud service)

 

In our case, AEM will be the resource owner, 3rd party application will be client and OKTA will be the authorization server.  Has anyone implement something like this before in AEM?

 

 

 

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

Are you looking for https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4c7a5ef , protecting the graphql endpoint before executing the query?

2 replies

Aditya_Chabuku
Community Advisor
Community Advisor
January 25, 2023

Hi @beast42 ,

 

Please try to follow this article, I think this might be useful for you.

https://wttech.blog/blog/2019/how-to-setup-aem-publish-saml-authentication-using-okta/ 

 

Thanks,

Aditya Chabuku

Thanks,Aditya Chabuku
beast42Author
Level 3
January 25, 2023

Thanks for the reply.

 

We are not trying to setup user authentication via saml (okta). 

 

We need to implement application to application authentication using oauth okta 

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
January 25, 2023

Are you looking for https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4c7a5ef , protecting the graphql endpoint before executing the query?

December 27, 2024

I am trying to use OAuth 2.0 to access graphQL end point/persist queries via postman (for initial testing).This is a member only story link. Could you please provide something more public?