You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the OIDC specification, the claims parameter (see section 5.5: OIDC Core) allows requesting specific claims in the ID Token or from the UserInfo endpoint.
I notice that Keycloak returns all claims mapped to the user, not only the ones requested in the claims parameter.
Question:
Does Keycloak fully support filtering claims via the claims query parameter, or is it expected behavior that all mapped claims are returned regardless of what is requested? If it is supported, how can we configure Keycloak to return only the requested claims?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
In the OIDC specification, the claims parameter (see section 5.5: OIDC Core) allows requesting specific claims in the ID Token or from the UserInfo endpoint.
When I send a request to Keycloak like:
I notice that Keycloak returns all claims mapped to the user, not only the ones requested in the claims parameter.
Question:
Does Keycloak fully support filtering claims via the claims query parameter, or is it expected behavior that all mapped claims are returned regardless of what is requested? If it is supported, how can we configure Keycloak to return only the requested claims?
All reactions