[GraphQL] Non-public content fragment best practices | Community
Skip to main content
Level 3
May 13, 2022
Solved

[GraphQL] Non-public content fragment best practices

  • May 13, 2022
  • 1 reply
  • 698 views

Hi All,

 

Did anyone Implemented a solution to expose non-public content fragment via GraphQL in a real-world project?

Any best practices or lessen learned can be shared? 

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 aanchal-sikka

Hello @baoyu_li 

 

Sharing a blog that details how we can secure the data that is returned via GraphQL queries. It uses CUG to control access to content fragments. 

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

 

I hope it helps !

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
September 2, 2023

Hello @baoyu_li 

 

Sharing a blog that details how we can secure the data that is returned via GraphQL queries. It uses CUG to control access to content fragments. 

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

 

I hope it helps !

 

Aanchal Sikka