mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
3020150274
fixes https://github.com/hasura/graphql-engine/issues/6449 A while back we added [support for customizing JWT claims](https://github.com/hasura/graphql-engine/pull/3575) and this enabled to map a session variable to any value within the unregistered claims, but as reported in #6449 , users aren't able to map the `x-hasura-user-id` session variable to the `sub` standard JWT claim. This PR fixes the above issue by allowing mapping session variables to standard JWT claims as well. GitOrigin-RevId: d3e63d7580adac55eb212e0a1ecf7c33f5b3ac4b |
||
---|---|---|
.. | ||
JWT | ||
JWT.hs | ||
WebHook.hs |