AEM 6.5.17 graphql headless consumption | Community
Skip to main content
sreenu539
Level 7
February 21, 2024

AEM 6.5.17 graphql headless consumption

  • February 21, 2024
  • 2 replies
  • 943 views

Hi,

 

Given I have content fragments , graphql queries

How to execute gql queries on backend osgi services? 

Is there any authentication needed (any authentication token etc or service user etc) or just mention URL end point, query, variables to get response?

 

How is this done? given content fragment data, queries present on both author , publish instances.

 

Also, if someone accessing this from a react or angular application , how does this react or angular application gets authenticated? to access headless data.

 

I appreciate inputs.

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

2 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
February 21, 2024

@sreenu539 Please check the below pic which API(CF API) to use if you are querying in AEM backend service

 
 

Regarding the authentication setup for the persistent queries please check the below blogs

https://techrevel.blog/2023/06/07/securing-content-for-graphql-queries/

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/graphql/advanced-tutorial/client-application-integration.html?lang=en

 

 

 

 

 

 

 

 

sreenu539
sreenu539Author
Level 7
February 27, 2024

Hi @saravanan_dharmaraj 

 

Thanks for your inputs. I am still using aem 6.5.17 and not AEMaaCS , how could I access graphql end points , do I need to still provide user name, password somewhere?

kautuk_sahni
Community Manager
Community Manager
February 21, 2024

@sreenu539 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni