I’d like to include custom claims in the userinfo response. I have succeeded by creating a rule that adds a custom namespaced claim to the ID token. However, the claim also appears in the ID token (obviously). Is there a way to avoid that, i.e. keep the ID token “slim”? My client code doesn’t always need these custom claims, so it’d be nice to only have them in the userinfo response.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Only include specific claims in UserInfo (OIDC Compliant Flow) | 2 | 4009 | December 14, 2018 | |
How do you return custom claims to userinfo endpoint when using OIDC? | 3 | 6810 | March 2, 2018 | |
Non-namespaced custom claims in app_metadata or user_metadata | 5 | 1458 | February 20, 2023 | |
Read custom claims in Angular | 3 | 12680 | March 2, 2018 | |
Getting claims from IdP's id token | 2 | 3752 | August 26, 2019 |