Repository navigation
connectors/oidc: mapping the non-standard claims to standard one #1998
Unanswered
morarucostel
asked this question in
Q&A
Replies: 1 comment 3 replies
|
Hey @JoelSpeed, any idea on how this might work? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
We are using oauth2-proxy together with dex and would like know if it is possible to get the standard claims like
given_nameandfamily_nameback into id_token returned by dex?The oauth2-proxy is configured to use dex as the issuer-url, and dex is configuring the real IdP as an oidc connector with
The jwt returned by the IdP is something like:
and the jwt returned by dex to oauth2-proxy is:
Is there any way either in dex's configuration, or via claimMapping or any other way, to map the
firstNameclaim from the IdP's jwt to dex's issued jwt either as standard or non-standard claim?So, basically, we would like to get back from dex, part of the id_token, also the firstName and lastName as given_name and family_name. What should we change in the configuration?
All reactions