How to request claims within tokens¶
By default, Helmholtz ID releases the user attributes via the userinfo endpoint. Some services might need the attributes within the tokens. For those services Helmholtz ID offers the possibilities to request the attributes via the claims within the token.
Request claims within the tokens¶
Helmholtz ID offers a non-standard query parameter to request the user
attributes within the claims of the tokens. To request this, the application
must add the claims_in_tokens query parameter to the authentication request.
The parameter supports three different values:
id_token: claims are added to the OIDC tokentoken: claims are added to the access tokenid_token token: claims are added to OIDC and access token
Need help?¶
Contact us if you need help.