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? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We are using oauth2-proxy together with dex and would like know if it is possible to get the standard claims like
given_name
andfamily_name
back 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
firstName
claim 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?
Beta Was this translation helpful? Give feedback.
All reactions