Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Use the token sub over adding ID #8

Closed
Kevin-K opened this issue May 1, 2019 · 2 comments
Closed

Use the token sub over adding ID #8

Kevin-K opened this issue May 1, 2019 · 2 comments

Comments

@Kevin-K
Copy link

Kevin-K commented May 1, 2019

I noticed in your setup steps you add a mapper to put the user's ID in the token to populate the X-Hasura-User-Id here.

Is it possible to use the sub attribute of the token instead? Could simply keycloak setup process if so.

@0xHexE
Copy link
Owner

0xHexE commented May 1, 2019

Hey @Kevin-K. Thanks for the suggestion. Good catch.
Will update the code and docs soon.

@0xHexE
Copy link
Owner

0xHexE commented May 1, 2019

@0xHexE 0xHexE closed this as completed May 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants