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 | 4008 | December 14, 2018 | |
How do you return custom claims to userinfo endpoint when using OIDC? | 3 | 6801 | March 2, 2018 | |
Non-namespaced custom claims in app_metadata or user_metadata | 5 | 1453 | February 20, 2023 | |
Read custom claims in Angular | 3 | 12664 | March 2, 2018 | |
Getting claims from IdP's id token | 2 | 3751 | August 26, 2019 |