Skip to main content

Token Claims Reference

Scope

Complete reference for all claims present in access tokens, ID tokens, and refresh tokens issued by the platform. Includes standard JWT claims, custom authorization claims, and context fields used during policy evaluation.

Definitions

NameDescription
subSubject identifier — the unique user or service account ID
issIssuer — the authorization server URL that minted the token
audAudience — the intended recipient service or API
expExpiration time as a Unix timestamp
iatIssued-at time as a Unix timestamp
jtiUnique token identifier for replay detection
tenant_idThe tenant context for the current session
org_idThe organization context, if applicable
rolesArray of role identifiers assigned to the subject
permissionsResolved permission set derived from role assignments
cnfConfirmation claim containing proof-of-possession key binding (e.g., DPoP jkt)

Example

{
"sub": "user_42",
"iss": "https://auth.keymate.example",
"aud": "https://api.keymate.example",
"exp": 1700000000,
"iat": 1699996400,
"jti": "tok_unique_id",
"tenant_id": "t_abc123",
"org_id": "org_eng",
"roles": ["editor", "viewer"],
"permissions": ["documents:read", "documents:write"],
"cnf": {
"jkt": "sha256-thumbprint-of-dpop-key"
}
}