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.
Views
Replies
Total Likes
@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/
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?
@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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies