Attributes — Share

Attributes

Claims can be shared with your applications and services in following ways:

  1. In identity and access tokens, released by controls.
  2. With extensions, which can pass them on to your own systems.
  3. Through the Management API or Agent API.

Tokens

Claims are added to the identity token and/or access token issued to an application when the account passes a control which releases their attribute, through its Identity Attributes (config.attributes.identity) or Access Attributes (config.attributes.access). Typically this is a claim control, for which the user gives consent to share the data with the application.

Following rules apply:

  • each claim is added with the attribute's value as key, e.g. email
  • both pending and enabled claims are added
  • number, boolean and JSON claims are added as such, other claims as string
  • if the account has multiple claims for the attribute, they're added as an array
  • for attributes which require validation a {value}_verified claim is added, which is true for enabled and false for pending claims
  • keys which collide with claims set by Quasr itself (such as sub, aud or exp) are ignored

The Loyalty Tier control: the claim goes into both the identity and the access token

The user consents to share the claim

  1. 1A scope: no personal data is shared
  2. 2A claim: once consented, the loyalty tier is added to the tokens of Example App

For example, an identity token for an account with a validated email address, a given name and a custom loyalty tier attribute contains:

{    "email": "jane@example.com",    "email_verified": true,    "given_name": "Jane",    "loyalty_tier": "gold"}

Extensions

An extension receives the claims of the account an event concerns for each of the attributes in its Attributes (config.attributes), in event.claims and in the same format as in tokens. This allows you to pass claims on to your own systems, for example syncing new signups to your CRM, or to compute custom token claims from them.

APIs

Your back-end can read claims with a machine client that has an admin scope, through the getClaim, listClaims and searchClaims operations of the Management API, or the matching tools of the Agent API. See View and Search.

2026.11.22 | © Copyright 2026 Quasr BV