Attributes — Capture

Attributes

There are 5 ways in which claims can be captured:

  1. Manually provided by the user during the signup or login process.
  2. Manually provided by the user in the Account UI.
  3. Automatically sourced through one of the signup or login factors used.
  4. Manually provided by an admin in the Admin UI.
  5. Automatically provided by an admin client via the Management API or the Agent API.

Manually provided by the user

The user can manually provide claims during signup or login using the Authentication API. Important is the score of the attributes you want to store as the user needs to have a session with a (security) score at least equal to the score of the attribute.

You make a POST request to the attributes endpoint in the Authentication API with the claims in the body and session token as bearer token in the Authorization header (i.e. Bearer {session_token}). See: https://documenter.getpostman.com/view/18129777/UVXgMHEv#308758fb-f6cd-4719-a276-b592ac43a002.

Our Login UI does both: the email address a user signs up with is captured automatically by a source, and the personal data an application needs is asked once the user's score is high enough.

Captured automatically: the email address of the Email OTP

  1. 1The factor itself only stores a secure hash of the email
  2. 2Only if the user opts in is the email also captured as attribute, by the source
  3. 3Processed, as opting in generates a data event that a source or one of your extensions can pick up

Provided manually: the personal data the application needs

Alternatively the user can also manually provide claims in the Account UI, via the Management API or via the Agent API. In the Account UI users can go to Attributes and then click Create in the upper right corner.

Automatically sourced from a factor

The system can automatically source claims from factors via sources. Using sources allows you to capture claims from following factors:

  • Secret (username, email, phone) - You can capture the input when an enrollment is created, if Capture Input is enabled on the factor.
  • One-Time Password (OTP) - You can capture the channel (email, phone number, etc.) when an enrollment is created, if the factor's storage mode is internal or external.
  • OAuth 2.0 / OpenID Connect (OIDC) - You can capture the claims returned by the identity provider during signup and login, if Capture Claims is enabled on the factor.

Manually provided by an admin

An admin can manually provide claims in the Admin UI, via the Management API or via the Agent API. In the Admin UI admins can go to Users, select the desired user, go to the Attributes tab and then click Create in the upper right corner. Unlike users, admins can create a claim as ENABLED right away, and can give it an expiration (expires_at, or expires_in in the APIs) after which it's deleted, e.g. for a temporary membership.

  1. 1Enabled right away: validate the value yourself first if the attribute requires validation
  2. 2Optional, in UTC: the claim is deleted at this moment

The createClaim operation is used in the Management API. See: https://documenter.getpostman.com/view/18129777/UVXgMHEv#8cbff6cd-e095-4837-b172-aab080f17f61

The create-claim tool is used in the Agent API. See Agent API.

2026.11.22 | © Copyright 2026 Quasr BV