graphql-engine/server/src-lib/Hasura/Server/Auth
Karthikeyan Chinnakonda 3020150274 server: allow mapping session variables to standard JWT claims
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
2021-01-21 16:50:46 +00:00
..
JWT server: move Hasura.SQL to Hasura.Backends.Postgres (#6053) 2020-10-27 13:53:49 +00:00
JWT.hs server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
WebHook.hs Merge pull request #223 from hasura/jberryman/5863-prep-refactoring 2020-12-20 06:53:38 +00:00