Expand my Community achievements bar.

SOLVED

[GraphQL] Non-public content fragment best practices

Avatar

Level 3

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? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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