Claim Consent
Overview
claim consent means the user authorizes the identity provider to release specific identity claims (such as name, email, roles) to an application or relying party, which may be required for authentication and authorization purposes. The user consent ensures they control what personal data is shared with third parties.
Introduction to claims
What are claims?
Claims are user attributes that represent personal information such as given_name, family_name, birthdate, and other identity data.
The OpenID Connect (OIDC) specification defines a standardized set of claims that can be requested and returned in:
- UserInfo Response - Retrieved from the UserInfo endpoint
- ID Token - Included directly in the token.
The official documentation for standard claims click here
The claims Authentication Request parameter requests that specific claims be returned from the UserInfo Endpoint and/or in the ID Token.
When Claim Consent is Required
Applications that request claims (such as profile, email, or other user attributes) gain access to personal data. User consent is required whenever an application requests access to this information.

| Criteria | Example | Configuration |
|---|---|---|
| The consent will be requested client-based and only once per client | So when the user agrees, e.g., for your webshop to accept the claim consent, he will be asked again when using your mobile application. | https://demo.cidaas.de/authz-srv/authz?client_id=xxx...&claim={"userinfo":{"given_name": {"essential": true}}} - View API |
| Third Party Application | A Third Party Client is an untrusted client. The user data will then be issued either as id_token or using the userinfo-endpoint to the application. These third-party clients require a transfer of personal data, but before allowing the transfer of personal data, the user's consent needs to be requested. A third-party client type will always request consent for the claims that were requested. | ![]() |
| prompt=consent | The consent will be requested request-based | Even if the user has already agreed to this claim for a particular client, the prompt=consent allows them to present the claim consent again if they are a third-party client https://demo.cidaas.de/authz-srv/authz?client_id=69d81af1...&scope=profile openid&prompt=consent |
How it works
Claim consent is a token condition evaluated before token issuance. When user consent is required for a specific claim.
-
Token Generation Pauses The token issuance process is interrupted when consent is needed.
-
User Notification The user is informed about which claim requires their consent.
-
Consent Required The user must explicitly provide consent before the token can be issued.
Purpose: This mechanism ensures users have transparency and control over their personal data sharing for authentication and authorization purposes.
