Discuss Dgraph
@auth directive on $ROLE array for Auth0 compatibility
Issues
GraphQL
auth
amaster507
(Anthony Master)
May 9, 2021, 3:19am
10
So what about:
{ $ROLE_ARRAY: { in: [\"ADMIN\"] } }
show post in topic
Related Topics
Topic
Replies
Views
Activity
Auth Rule checks if value exists in array
GraphQL
kind:question
,
auth
4
1582
January 21, 2022
Auth JWT array parameters
GraphQL
auth
1
581
December 2, 2020
Is it possible to have an "array division" in an @auth rule?
Dgraph Cloud
kind:question
,
auth
,
area:schema
7
564
March 30, 2023
Auth Rules - Graphql
Documentation
0
311
August 28, 2020
Auth rule that uses values inside database
GraphQL
kind:feature
6
978
July 3, 2021