Replies: 2 comments 2 replies
-
I don't think we have support for it, no. What is your use case? What prompted you to ask? |
Beta Was this translation helpful? Give feedback.
2 replies
-
we are using our own auth provider authjs example: {
"type": "HS256",
"key": "11111",
"claims_map": {
"x-hasura-allowed-roles": { "path": "$.roles" },
"x-hasura-default-role": "anonymous",
"x-hasura-user-id": { "path": "$.email" },
"x-hasura-org-id": { "path": "$.org", "default": "public" }
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to use the Hasura Claims Map https://hasura.io/docs/latest/graphql/core/auth/authentication/jwt/#claims_map
It looks to be hard coded here
nhost/packages/core/src/types.ts
Lines 154 to 172 in 2a684d3
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions