graphql-engine/server/src-test/Hasura/Server
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
..
AuthSpec.hs server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
MigrateSpec.hs server: RQL code health 2021-01-08 23:10:36 +00:00
TelemetrySpec.hs Fix latency buckets for telemetry data 2020-07-22 12:29:38 -04:00