graphql-auth-directives icon indicating copy to clipboard operation
graphql-auth-directives copied to clipboard

[Request] Allow for AUTH_DIRECTIVES_ROLE_KEY to be nested with dot notation

Open EarthlingDavey opened this issue 4 years ago • 1 comments

I am using a library which creates a jwt in the shape of { user: { roles: ... } }

Request / suggestion, to support this format.

Thank you.

EarthlingDavey avatar Jul 18 '20 11:07 EarthlingDavey

I have the same issue. I am using Keycloack that generate roles under: resource_access: { 'account': { roles: [...] } }

kevdjoff avatar Oct 19 '20 21:10 kevdjoff