Expand my Community achievements bar.

SOLVED

Bearer Access Token Authorization for AEM GraphQL Endpoint Queries on Content Fragments Implementation / approach

Avatar

Level 1

Passing query with AEM GraphQL Endpoints getting response (Non- persistent API) referred : https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...

Want to add Bearer Authorization Access token to secure response. How can we implement? any approach ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

Hello @JagadeeshSu 

 

The details on how to use token with GraphQL are available on https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/security/a...

 

For generating access token, please set up as guided on https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/develo...


Aanchal Sikka

Avatar

Level 4

hi @JagadeeshSu 
You should have cloud manger developer access to generate AEM CS integration Json. 
Once you get access, you can generate integration Json .

 

-> then we need to install on Frontend or from where you want make AEM call. 

-> Generate JWT token and exchange the token for access token.

 

we have used adobe/aemcs-api-client-libin our frontend module (NextJS) to integrate with AEM CS to fetch json data.