Support given_name and family_name, add it to the "handful" of supported Standard claims
Preflight Checklist
- [X] I agree to follow the Code of Conduct that this project adheres to.
- [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Problem Description
given_name and family_name Standard claims are not included in the ID Token when you request profile scope.
These are fairly standard claims and applications would be using these claims to display the user's name.
Proposed Solution
Include family_name and given_name in the ID token
"claims_supported": [
"iss",
"sub",
"aud",
"iat",
"exp",
"email",
"email_verified",
"locale",
"name",
"preferred_username",
"at_hash",
"given_name",
"family_name"
]
Alternatives Considered
No response
Additional Information
No response
@edeati Yeah, these are standard claims....for OIDC. Unfortunately a bunch of providers (SAML, LDAP, OAuth2) don't necessarily provide the same information, hence we've been reluctant to include these claims.
However, it might make sense to revisit this decision.
I would suggest to make it optional, per each connector. ideally there should be a mapping for each connector. For example LDAP:
- given_name: custom_attr_1
- family_name: custom_attr_2.
And for me this custom_attr_XX are base64 encoded(non latin characters)
any update?
Is there a workaround for this?