graphql-auth-directives
graphql-auth-directives copied to clipboard
[Request] Allow for AUTH_DIRECTIVES_ROLE_KEY to be nested with dot notation
I am using a library which creates a jwt in the shape of { user: { roles: ... } }
Request / suggestion, to support this format.
Thank you.
I have the same issue. I am using Keycloack that generate roles under: resource_access: { 'account': { roles: [...] } }