graphql-engine/server/src-lib
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
..
Control server: simplify shutdown logic, improve resource management (#218) (#195) 2020-12-21 18:56:57 +00:00
Data server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Hasura server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
Network server: RQL code health 2021-01-08 23:10:36 +00:00