Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

OAuth2 / OIDC API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

OAuth 2.0 and OpenID Connect protocol endpoints. Covers authorization, token issuance, token introspection, pushed authorization requests, dynamic client registration, JWKS, and the OIDC UserInfo endpoint.

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize

1 scopes
ScopeDescription
systemAccess to system management APIs

Authorization​

OAuth 2.0 authorization endpoint and flow-engine callback.

Authorization endpoint​

GET /oauth2/authorize

Initiates an OAuth 2.0 / OIDC authorization flow. On success, redirects the user-agent to the login page. On error, redirects to the client's registered redirect_uri or the server error page. When request_uri is provided (PAR), the stored parameters are used instead of the inline query parameters.

Parameters

NameInTypeRequiredDescription
response_typequerystringYes

Must be code for the authorization code flow.

Allowed values: code

response_modequerystring

OAuth 2.0 response mode. When omitted, query mode is used by default. Only query mode is supported. Requests with unsupported values such as fragment or form_post are rejected with invalid_request.

Allowed values: query

client_idquerystringYes

The client identifier.

redirect_uriquerystring

The URI to redirect to after authorization.

scopequerystring

Space-separated list of requested scopes.

statequerystring

Opaque value to maintain state between the request and callback.

noncequerystring

String value used to associate a client session with an ID token.

code_challengequerystring

PKCE code challenge (RFC 7636).

code_challenge_methodquerystring

PKCE code challenge method.

Allowed values: S256, plain

request_uriquerystring

Reference URI to a pushed authorization request (RFC 9126).

resourcequerystring

Resource indicator per RFC 8707 (absolute URI, no fragment). Only one value is supported; requests with multiple resource values are rejected with invalid_target. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used. OIDC-only and scopeless requests use the client_id audience.

authorization_detailsquerystring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes.

acr_valuesquerystring

Requested Authentication Context Class Reference values.

claimsquerystring

JSON-encoded claims request (OIDC Core §5.5).

promptquerystring

Space-separated list of prompts (OIDC Core §3.1.2.1). Supported values: login forces re-authentication; consent forces re-consent for all required attributes regardless of existing consent records.

Responses

CodeDescriptionSchema
302

Redirect to the login page or the client redirect_uri on error.

400

Bad Request — malformed or duplicate query parameters.

OAuthError

Authorization endpoint for an organization unit​

GET /ou/{ouId}/oauth2/authorize

The authorization endpoint with the sign-in bounded to the organization unit in the path: the user signs in to that organization unit, and the application must be accessible from it. Takes the same query parameters and answers as /oauth2/authorize. Served only when the deployment enables organization-unit-qualified endpoints.

An organization unit the application is not accessible from, and one that does not exist, are both redirected to the client with the same unauthorized_client error, so the answer does not reveal which organization units exist.

Parameters

NameInTypeRequiredDescription
ouIdpathstringYes

Identifier of the organization unit to sign in to.

response_typequerystringYes

Must be code for the authorization code flow.

Allowed values: code

response_modequerystring

OAuth 2.0 response mode. When omitted, query mode is used by default. Only query mode is supported. Requests with unsupported values such as fragment or form_post are rejected with invalid_request.

Allowed values: query

client_idquerystringYes

The client identifier.

redirect_uriquerystring

The URI to redirect to after authorization.

scopequerystring

Space-separated list of requested scopes.

statequerystring

Opaque value to maintain state between the request and callback.

noncequerystring

String value used to associate a client session with an ID token.

code_challengequerystring

PKCE code challenge (RFC 7636).

code_challenge_methodquerystring

PKCE code challenge method.

Allowed values: S256, plain

request_uriquerystring

Reference URI to a pushed authorization request (RFC 9126).

resourcequerystring

Resource indicator per RFC 8707 (absolute URI, no fragment). Only one value is supported; requests with multiple resource values are rejected with invalid_target. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used. OIDC-only and scopeless requests use the client_id audience.

authorization_detailsquerystring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes.

acr_valuesquerystring

Requested Authentication Context Class Reference values.

claimsquerystring

JSON-encoded claims request (OIDC Core §5.5).

promptquerystring

Space-separated list of prompts (OIDC Core §3.1.2.1). Supported values: login forces re-authentication; consent forces re-consent for all required attributes regardless of existing consent records.

Responses

CodeDescriptionSchema
302

Redirect to the login page, or to the client redirect_uri on error, including an organization unit the application is not accessible from or that does not exist.

400

Bad Request: malformed or duplicate query parameters, or a blank organization unit (invalid_request).

OAuthError

Authorization callback​

POST /oauth2/auth/callback

Internal endpoint invoked by the Gate after a flow terminates. It submits the flow's signed assertion JWT, which this endpoint validates before acting on it. A completed flow yields an authentication assertion and an authorization code is issued (or, for CIBA and Device Code, the associated request is updated). The CIBA and Device Code callbacks return {"status":"OK"} on success. A terminally failed flow yields an error assertion instead and the failure is propagated to the waiting request (authorization code: an error redirect; CIBA and Device Code: the request is denied or marked failed). The two assertion outcomes are distinguished by the assertion's own claims, so callers submit both in the same field.

The caller also posts, in sessionData, the SSO sessions the flow's responses returned, from every response of the flow and not only the last one. When the authorization request asked for the device_sso scope, the code keeps the posted sessions, up to ten, and the code exchange returns them in device_secret. They are kept as posted; a token exchange that presents them checks they are the user's. An entry with a missing field, or a field longer than 128 characters, is ignored and does not fail the sign-in. The request body is limited to 1 MiB.

Request body (required): application/json

Schema: AuthCallbackRequest

4 properties
NameTypeRequiredDescription
authIdstringYes

The authorization session identifier returned by the flow engine.

assertionstringYes

Signed JWT assertion from the flow engine carrying the terminal flow outcome. A completed flow returns an authentication assertion (relay the flow response's assertion field); a terminally failed flow returns an error assertion carrying the flow error type and description (relay the flow response's errorAssertion field). The server validates the signature and the binding to this authorization request before acting, and tells the two apart by the assertion's own claims.

typestring

OAuth grant type of the request. Defaults to the authorization code flow when absent.

Allowed values: authorization_code, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:device_code

sessionDataarray of object

The SSO sessions the flow's responses returned, as the flow execution API's sessionData has them. The code keeps them, up to ten, for the device_sso scope. An entry with a missing field, or a field longer than 128 characters, is ignored.

Responses

CodeDescriptionSchema
200

Authorization code callbacks return a redirect_uri including the code and state. CIBA and Device Code callbacks return a status response after updating the associated request.

one of: AuthCallbackResponse, FlowCallbackStatusResponse
400

Bad Request, a body that is not JSON or is over 1 MiB, or a missing authId or assertion.

OAuthError

Device Authorization​

OAuth 2.0 Device Authorization Grant endpoints per RFC 8628.

Device authorization endpoint​

POST /oauth2/device-authorize

Starts an OAuth 2.0 Device Authorization Grant request as defined by RFC 8628. The client receives a device code for token polling and a user code that the user enters at the verification URI. The client must be configured to use the Device Code grant.

Confidential clients authenticate using their configured token endpoint authentication method. Public clients identify themselves with client_id.

Request body (required): application/x-www-form-urlencoded

Schema: DeviceAuthorizationRequest

4 properties
NameTypeRequiredDescription
client_idstring

The client identifier, required when it is not supplied through client authentication.

client_secretstring

The client secret for confidential clients using form-based authentication.

scopestring

Space-separated list of requested scopes.

resourcearray of string (uri)

Resource indicator per RFC 8707. ThunderID supports one resource value; multiple values are rejected with invalid_target.

Responses

CodeDescriptionSchema
200

Device authorization request accepted.

DeviceAuthorizationResponse
400

Bad Request — invalid_request, invalid_target, or unauthorized_client.

OAuthError
401

Unauthorized — client authentication failed.

OAuthError
500

Internal server error — the device authorization request could not be created.

OAuthError

Token​

OAuth 2.0 token endpoint for issuing access tokens, refresh tokens, and ID tokens.

Token endpoint​

POST /oauth2/token

Issues access tokens, refresh tokens, and ID tokens. Supports the following grant types: authorization_code, client_credentials, refresh_token, urn:openid:params:grant-type:ciba (CIBA Core 1.0), urn:ietf:params:oauth:grant-type:token-exchange (RFC 8693), and urn:ietf:params:oauth:grant-type:jwt-bearer (draft-ietf-oauth-identity-assertion-authz-grant), and urn:ietf:params:oauth:grant-type:device_code (RFC 8628). Confidential clients authenticate with HTTP Basic auth, client_id/client_secret form parameters, or a private_key_jwt client assertion; a public client sends only client_id.

An access token issued for a user through the authorization_code, urn:openid:params:grant-type:ciba or urn:ietf:params:oauth:grant-type:jwt-bearer grant keeps that user in sub and adds an on-behalf-of act claim naming the client that obtained it. Token exchange adds the same claim when no actor_token is given, and a refreshed access token keeps the claim its refresh token was issued with. Agent clients always receive the claim; application clients receive it when includeActClaim is enabled on the client. The act.sub value is the agent or application resource id rather than the client id, and the claim is present on the access token only, never on the ID token.

Token exchange additionally supports requesting an Identity Assertion Authorization Grant (ID-JAG) by setting requested_token_type to urn:ietf:params:oauth:token-type:id-jag, with subject_token_type set to urn:ietf:params:oauth:token-type:id_token and a single required audience value matching one of the client's configured allowedAudiences. The resource parameter is optional and, when present, is embedded in the issued ID-JAG for the resource authorization server to process. The ID-JAG also carries the subject ID token's claims that the client's token.idToken.userAttributes lists, except roles, groups, and the claims the ID-JAG defines itself. Requires the client to be confidential and to have ID-JAG issuance enabled (token.idJag.enabled) on its OAuth configuration. The response has issued_token_type=urn:ietf:params:oauth:token-type:id-jag and token_type=N_A, since the issued value is a JWT authorization grant rather than an access token.

Token exchange also signs a user in to another application with an SSO session they already hold (back-channel SSO). The subject_token is the device_secret a code exchange returned, with subject_token_type set to urn:ietf:params:oauth:token-type:jwt; its sso-session+jwt type header selects this path. The calling client's authentication flow runs silently on the session it carries for that client's login flow, as prompt=none does at the authorization endpoint, so it only succeeds for a client whose login flow is one of the sessions'. The response carries the tokens the authorization code grant would give: an access token, an ID token when openid is in scope, and a refresh token when the client allows the refresh_token grant; all belong to the same session. scope and a single resource select what is requested, actor_token is not accepted, and requested_token_type may only be an access token. Public clients may use it. A flow that cannot complete without the user, or a session that has ended or belongs to another flow, is answered with interaction_required; a session of another user than the device secret's sub with invalid_grant. For a shared application, a flow that decides no organization unit before it reuses the session follows the one the user last signed in to with that session, when the user can sign in to the application there; otherwise the flow needs the user, and the exchange is answered with interaction_required. A sign-in the organization unit boundary refuses, because the flow decided no organization unit or the user is not in the one it decided, is also answered with invalid_grant, with the description The subject cannot sign in to this application. The same exchange on /ou/{ouId}/oauth2/token signs the user in to that organization unit.

The urn:ietf:params:oauth:grant-type:jwt-bearer grant presents an ID-JAG assertion (obtained from a trusted external IdP) via the required assertion parameter, and exchanges it for a ThunderID access token. Optional scope and resource parameters further narrow the granted scopes and audience; resource must be a subset of the assertion's own resource claim when the assertion carries one. No refresh token is issued for this grant.

Request body (required): application/x-www-form-urlencoded

Schema: TokenRequest

19 properties
NameTypeRequiredDescription
grant_typestringYes

The OAuth 2.0 grant type.

Allowed values: authorization_code, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:jwt-bearer, urn:ietf:params:oauth:grant-type:device_code, urn:openid:params:grant-type:ciba

client_idstring

The client identifier (required when not using HTTP Basic auth).

client_secretstring

The client secret (required for confidential clients not using HTTP Basic auth).

codestring

The authorization code (required for authorization_code grant).

redirect_uristring

Must match the redirect_uri used in the authorization request.

code_verifierstring

PKCE code verifier (RFC 7636).

scopestring

Space-separated list of requested scopes.

refresh_tokenstring

The refresh token (required for refresh_token grant).

subject_tokenstring

The subject token for token exchange (RFC 8693).

subject_token_typestring

The type URI of the subject token. A device secret (device_secret from a code exchange) is sent as urn:ietf:params:oauth:token-type:jwt.

actor_tokenstring

The actor token for token exchange (RFC 8693).

actor_token_typestring

The type URI of the actor token.

requested_token_typestring

The desired type of the issued token (token exchange only). Set to urn:ietf:params:oauth:token-type:id-jag to request an Identity Assertion Authorization Grant instead of an access token; this requires subject_token_type to be urn:ietf:params:oauth:token-type:id_token and exactly one audience value.

audiencestring

Accepted for RFC 8693 token-exchange compatibility; it does not determine the issued access token's aud claim (use resource to select the token audience). Required, and limited to exactly one value, when requesting an ID-JAG (requested_token_type=urn:ietf:params:oauth:token-type:id-jag); then the value must match one of the client's configured allowedAudiences.

resourcestring

Resource indicator (RFC 8707). For access-token issuance, binds the issued access token to exactly one resource server. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used, and if neither is available the request is rejected with invalid_target. OIDC-only and scopeless requests use the client_id audience. Optional for ID-JAG requests, where it is embedded in the issued ID-JAG's resource claim. For the jwt-bearer grant, when present it must be a subset of the assertion's own resource claim.

assertionstring

ID-JAG assertion JWT issued by a trusted external IdP (draft-ietf-oauth-identity-assertion-authz-grant). Required for the urn:ietf:params:oauth:grant-type:jwt-bearer grant.

auth_req_idstring

The backchannel authentication request identifier returned by /oauth2/bc-authorize. Required for the urn:openid:params:grant-type:ciba grant.

authorization_detailsstring

RFC 9396 authorization details as a JSON array. On the authorization_code, urn:openid:params:grant-type:ciba and refresh_token grants it modifies the grant (RFC 9396 section 6): each entry is a whole detail object that must be an allowed modification of a distinct granted detail of its type, and the access token carries only the entries. An entry may leave out the fields the processor supplied, which are taken from the granted detail. When the request leaves out authorization_details, the token response carries the whole grant, including any values the user changed at consent, which a later request (for example on refresh) may narrow. On client_credentials it is a new request: every requested type must have a processor, the token carries only the details the processors approve, and a request whose details are all refused fails with invalid_authorization_details. Other grants refuse it with invalid_authorization_details.

device_codestring

The device code returned by /oauth2/device-authorize. Required for the urn:ietf:params:oauth:grant-type:device_code grant.

Responses

CodeDescriptionSchema
200

Token issued successfully.

TokenResponse
400

Bad Request — invalid grant, missing parameters, unsupported grant type; or interaction_required when a device secret cannot sign the user in without them, or a Device Code polling response such as authorization_pending, slow_down, access_denied, or expired_token.

OAuthError
401

Unauthorized — client authentication failed.

OAuthError

Token endpoint for an organization unit​

POST /ou/{ouId}/oauth2/token

The token endpoint acting for the organization unit in the path. Served only when the deployment enables organization-unit-qualified endpoints. The client authenticates as on /oauth2/token and must be accessible from the organization unit. An organization unit the client is not accessible from, and one that does not exist, are both answered with the same unauthorized_client error, so the answer does not reveal which organization units exist.

Three grants act for an organization unit, with the same request parameters as on /oauth2/token:

  • client_credentials issues the client a token for the organization unit.
  • authorization_code redeems a code whose sign-in landed in the organization unit, such as one issued through /ou/{ouId}/oauth2/authorize. The sign-in records its organization unit only when the client's token configuration asks for the ouId attribute, so a code without it, or one for another organization unit, is answered with invalid_grant and the description The authorization code was not issued for the requested organization unit. /oauth2/token redeems either code.
  • urn:ietf:params:oauth:grant-type:token-exchange with a device secret as the subject_token (subject_token_type urn:ietf:params:oauth:token-type:jwt and the sso-session+jwt type header) signs the user in to the organization unit. The client's authentication flow runs silently on the session, as it does on /oauth2/token, with the sign-in bounded to the organization unit: the ouId claim the tokens carry is the organization unit's, and the roles and permissions are those assigned there. A user who cannot sign in to the organization unit is answered with invalid_grant.

Every other grant, and a token exchange whose subject token is not a device secret, is refused with invalid_request.

Parameters

NameInTypeRequiredDescription
ouIdpathstringYes

Identifier of the organization unit the request acts for.

Request body (required): application/x-www-form-urlencoded

Schema: TokenRequest

19 properties
NameTypeRequiredDescription
grant_typestringYes

The OAuth 2.0 grant type.

Allowed values: authorization_code, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:jwt-bearer, urn:ietf:params:oauth:grant-type:device_code, urn:openid:params:grant-type:ciba

client_idstring

The client identifier (required when not using HTTP Basic auth).

client_secretstring

The client secret (required for confidential clients not using HTTP Basic auth).

codestring

The authorization code (required for authorization_code grant).

redirect_uristring

Must match the redirect_uri used in the authorization request.

code_verifierstring

PKCE code verifier (RFC 7636).

scopestring

Space-separated list of requested scopes.

refresh_tokenstring

The refresh token (required for refresh_token grant).

subject_tokenstring

The subject token for token exchange (RFC 8693).

subject_token_typestring

The type URI of the subject token. A device secret (device_secret from a code exchange) is sent as urn:ietf:params:oauth:token-type:jwt.

actor_tokenstring

The actor token for token exchange (RFC 8693).

actor_token_typestring

The type URI of the actor token.

requested_token_typestring

The desired type of the issued token (token exchange only). Set to urn:ietf:params:oauth:token-type:id-jag to request an Identity Assertion Authorization Grant instead of an access token; this requires subject_token_type to be urn:ietf:params:oauth:token-type:id_token and exactly one audience value.

audiencestring

Accepted for RFC 8693 token-exchange compatibility; it does not determine the issued access token's aud claim (use resource to select the token audience). Required, and limited to exactly one value, when requesting an ID-JAG (requested_token_type=urn:ietf:params:oauth:token-type:id-jag); then the value must match one of the client's configured allowedAudiences.

resourcestring

Resource indicator (RFC 8707). For access-token issuance, binds the issued access token to exactly one resource server. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used, and if neither is available the request is rejected with invalid_target. OIDC-only and scopeless requests use the client_id audience. Optional for ID-JAG requests, where it is embedded in the issued ID-JAG's resource claim. For the jwt-bearer grant, when present it must be a subset of the assertion's own resource claim.

assertionstring

ID-JAG assertion JWT issued by a trusted external IdP (draft-ietf-oauth-identity-assertion-authz-grant). Required for the urn:ietf:params:oauth:grant-type:jwt-bearer grant.

auth_req_idstring

The backchannel authentication request identifier returned by /oauth2/bc-authorize. Required for the urn:openid:params:grant-type:ciba grant.

authorization_detailsstring

RFC 9396 authorization details as a JSON array. On the authorization_code, urn:openid:params:grant-type:ciba and refresh_token grants it modifies the grant (RFC 9396 section 6): each entry is a whole detail object that must be an allowed modification of a distinct granted detail of its type, and the access token carries only the entries. An entry may leave out the fields the processor supplied, which are taken from the granted detail. When the request leaves out authorization_details, the token response carries the whole grant, including any values the user changed at consent, which a later request (for example on refresh) may narrow. On client_credentials it is a new request: every requested type must have a processor, the token carries only the details the processors approve, and a request whose details are all refused fails with invalid_authorization_details. Other grants refuse it with invalid_authorization_details.

device_codestring

The device code returned by /oauth2/device-authorize. Required for the urn:ietf:params:oauth:grant-type:device_code grant.

Responses

CodeDescriptionSchema
200

Token issued successfully.

TokenResponse
400

Bad Request: a grant the organization unit endpoint does not serve (invalid_request), an organization unit the client is not accessible from or that does not exist (unauthorized_client), an authorization code not issued for the organization unit (invalid_grant), a device secret whose user cannot sign in to it (interaction_required), or any error /oauth2/token gives for the same request.

OAuthError
401

Unauthorized: client authentication failed.

OAuthError

Introspection​

Token introspection per RFC 7662.

Token introspection endpoint​

POST /oauth2/introspect

Returns metadata about a token. If the token is invalid, expired, or revoked, the response will contain "active": false with no other fields. Implements RFC 7662. Requires client authentication.

Request body (required): application/x-www-form-urlencoded

Schema: IntrospectRequest

2 properties
NameTypeRequiredDescription
tokenstringYes

The token to introspect.

token_type_hintstring

Hint about the type of the submitted token.

Responses

CodeDescriptionSchema
200

Introspection result (active or inactive token).

IntrospectResponse
400

Bad Request — token parameter is missing.

OAuthError
401

Unauthorized — client authentication failed.

OAuthError

Revocation​

Token revocation per RFC 7009.

Token revocation endpoint​

POST /oauth2/revoke

Revokes a previously issued access or refresh token. On success the server responds with HTTP 200 and an empty body. A token that cannot be validated — bad signature, malformed, or unknown — is treated as a successful no-op per RFC 7009. Expired tokens with a valid signature remain revocable. Requires client authentication; a client may only revoke tokens issued to it. Implements RFC 7009.

Request body (required): application/x-www-form-urlencoded

Schema: RevokeRequest

2 properties
NameTypeRequiredDescription
tokenstringYes

The access or refresh token to revoke.

token_type_hintstring

Hint about the type of the submitted token (access_token or refresh_token). Accepted per RFC 7009 §2.1 but optional; ThunderID tokens are self-describing, so the hint does not affect processing.

Responses

CodeDescriptionSchema
200

Token revoked, or a no-op success for a token that cannot be validated. Empty body.

400

Bad Request — the token parameter is missing (invalid_request), or the token was issued to a different client (invalid_grant).

OAuthError
401

Unauthorized — client authentication failed.

OAuthError
500

Internal server error — the revocation could not be recorded, for example when the runtime persistent database is unavailable.

OAuthError

PAR​

Pushed Authorization Requests per RFC 9126.

Pushed Authorization Request endpoint​

POST /oauth2/par

Accepts authorization request parameters and stores them server-side, returning a request_uri that can be passed to the authorization endpoint. Implements RFC 9126. Requires client authentication.

Request body (required): application/x-www-form-urlencoded

Schema: PARRequest

13 properties
NameTypeRequiredDescription
response_typestringYes

Allowed values: code

client_idstringYes
redirect_uristring
scopestring
statestring
noncestring
code_challengestring
code_challenge_methodstring

Allowed values: S256, plain

resourcestring

Resource indicator per RFC 8707 (absolute URI). Only one value is supported; multiple resource values are rejected with invalid_target.

authorization_detailsstring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes.

acr_valuesstring
claimsstring
promptstring

Space-separated list of prompts (OIDC Core §3.1.2.1). Supported values: login forces re-authentication; consent forces re-consent for all required attributes regardless of existing consent records.

Responses

CodeDescriptionSchema
201

Authorization request accepted and stored.

PARResponse
400

Bad Request — invalid parameters.

OAuthError
401

Unauthorized — client authentication failed.

OAuthError

JWKS​

JSON Web Key Set endpoint for token verification.

JSON Web Key Set​

GET /oauth2/jwks

Returns the server's public keys in JWKS format for verifying signed tokens.

Responses

CodeDescriptionSchema
200

JWKS retrieved successfully.

JWKSResponse
500

Internal server error — JWKS could not be retrieved.

OAuthError

Authorization Details Types​

Request view of the RFC 9396 authorization details types the server supports.

List authorization details types​

GET /oauth2/authorization-details-types

Returns the request view of every registered RFC 9396 authorization details type: the fields a client may send, with their constraints, and the changes it may make to a granted detail at the token endpoint. Processor, consent and reuse settings, the user and processor rules, and internal identifiers are never returned. Public and read-only, advertised in discovery as authorization_details_types_endpoint, and not served when oauth.authorization_details.type_metadata_enabled is false.

Parameters

NameInTypeRequiredDescription
If-None-Matchheaderstring

An ETag from an earlier response; the server answers 304 when the content is unchanged.

Responses

CodeDescriptionSchema
200

The request view of every registered type.

AuthorizationDetailsTypesResponse
304

The content matches the If-None-Match ETag.

500

Internal server error.

Error

Get an authorization details type​

GET /oauth2/authorization-details-types/{type}

Returns the request view of one registered type.

Parameters

NameInTypeRequiredDescription
typepathstringYes

The type value, URL-encoded since it may be a URI.

If-None-Matchheaderstring

An ETag from an earlier response; the server answers 304 when the content is unchanged.

Responses

CodeDescriptionSchema
200

The request view of the type.

AuthorizationDetailsTypeMetadata
304

The content matches the If-None-Match ETag.

404

No type is registered under the value.

Error
500

Internal server error.

Error

UserInfo​

OIDC UserInfo endpoint for retrieving claims about the authenticated user.

UserInfo endpoint (GET)​

GET /oauth2/userinfo

Returns claims about the authenticated end-user. The access token must be sent in the Authorization: Bearer <token> header. The response is a JSON object or a signed/encrypted JWT depending on the client's registration settings. Implements OIDC Core §5.3.

Responses

CodeDescriptionSchema
200

UserInfo claims returned successfully.

UserInfoResponse
401

Unauthorized — missing or invalid Bearer token.

403

Forbidden — token scope is insufficient.

500

Internal server error — the request could not be processed, for example when the token's application cannot be read.

OAuthError

UserInfo endpoint (POST)​

POST /oauth2/userinfo

Identical to the GET variant but accepts the access token via HTTP POST body or Authorization header per OIDC Core §5.3.2.

Responses

CodeDescriptionSchema
200

UserInfo claims returned successfully.

UserInfoResponse
401

Unauthorized — missing or invalid Bearer token.

403

Forbidden — token scope is insufficient.

500

Internal server error — the request could not be processed, for example when the token's application cannot be read.

OAuthError

DCR​

Dynamic Client Registration per RFC 7591.

Dynamic Client Registration​

POST /oauth2/dcr/register

Registers a new OAuth 2.0 / OIDC client. When DCR is not configured as insecure, a valid access token with system-level permissions is required. Implements RFC 7591.

Request body (required): application/json

Schema: DCRRegistrationRequest

23 properties
NameTypeRequiredDescription
ou_idstring

Organization Unit ID to associate the client with.

redirect_urisarray of stringYes

Registered redirect URIs.

post_logout_redirect_urisarray of string

Allowed post-logout redirect URIs for RP-Initiated Logout.

backchannel_logout_uristring

OIDC Back-Channel Logout endpoint. An absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https.

grant_typesarray of string

Allowed values: authorization_code, implicit, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:device_code

response_typesarray of string

Allowed values: code

client_namestring
client_uristring
logo_uristring
token_endpoint_auth_methodstring

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

jwks_uristring
jwksobject
scopestring
contactsarray of string
tos_uristring
policy_uristring
require_pushed_authorization_requestsboolean
userinfo_signed_response_algstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring

Responses

CodeDescriptionSchema
201

Client registered successfully.

DCRRegistrationResponse
400

Bad Request — invalid registration parameters.

OAuthError
401

Unauthorized — missing or insufficient access token (when DCR is not insecure).

OAuthError

Read Client Registration​

GET /oauth2/dcr/register/{client_id}

Returns the current registration of a dynamically registered client. Implements RFC 7592.

The request must be made by a caller holding system-level permissions, presenting its access token as a Bearer token.

The client_secret is not returned: it is stored write-only and cannot be read back after registration.

Scopes: system

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Identifier of the client registration to manage.

Responses

CodeDescriptionSchema
200

Current client registration.

DCRRegistrationResponse
401

Unauthorized, the caller does not hold the required system-level permission.

OAuthError
404

Not Found — no such client registration.

OAuthError

Update Client Registration​

PUT /oauth2/dcr/register/{client_id}

Replaces the registered metadata of a dynamically registered client, preserving its client_id and client_secret. Implements RFC 7592.

The request must be made by a caller holding system-level permissions, presenting its access token as a Bearer token.

The update is a full replacement of the client metadata: omitted fields are not retained. The server-managed field client_secret_expires_at is ignored if supplied. The body must include client_id, and it must match the client being updated.

Scopes: system

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Identifier of the client registration to manage.

Request body (required): application/json

Schema: DCRUpdateRequest

25 properties
NameTypeRequiredDescription
ou_idstring

Organization Unit ID to associate the client with.

redirect_urisarray of stringYes

Registered redirect URIs.

post_logout_redirect_urisarray of string

Allowed post-logout redirect URIs for RP-Initiated Logout.

backchannel_logout_uristring

OIDC Back-Channel Logout endpoint. An absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https.

grant_typesarray of string

Allowed values: authorization_code, implicit, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:device_code

response_typesarray of string

Allowed values: code

client_namestring
client_uristring
logo_uristring
token_endpoint_auth_methodstring

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

jwks_uristring
jwksobject
scopestring
contactsarray of string
tos_uristring
policy_uristring
require_pushed_authorization_requestsboolean
userinfo_signed_response_algstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
client_idstringYes

Identifier of the client being updated. Required, and it must match the client in the request path: a request that omits it, or that names a different client, is rejected.

client_secretstring

Optional. When present it must match the client's currently issued secret, otherwise the request is rejected. The value is only verified, never written: a client cannot choose its own secret.

Responses

CodeDescriptionSchema
200

Updated client registration.

DCRRegistrationResponse
400

Bad Request — invalid client metadata.

OAuthError
401

Unauthorized, the caller does not hold the required system-level permission.

OAuthError
404

Not Found — no such client registration.

OAuthError

Delete Client Registration​

DEL /oauth2/dcr/register/{client_id}

Deletes a dynamically registered client. Implements RFC 7592.

The request must be made by a caller holding system-level permissions, presenting its access token as a Bearer token.

Scopes: system

Parameters

NameInTypeRequiredDescription
client_idpathstringYes

Identifier of the client registration to manage.

Responses

CodeDescriptionSchema
204

Client registration deleted.

401

Unauthorized, the caller does not hold the required system-level permission.

OAuthError
404

Not Found — no such client registration.

OAuthError

Backchannel Authentication​

OpenID Connect Client-Initiated Backchannel Authentication (CIBA) endpoint.

Backchannel authentication endpoint​

POST /oauth2/bc-authorize

Initiates an OpenID Connect Client-Initiated Backchannel Authentication (CIBA) request in poll mode. The client identifies the user with exactly one of login_hint or id_token_hint (login_hint_token is defined by the specification but not supported and is rejected with invalid_request), and the server begins an out-of-band authentication ceremony. The returned auth_req_id is polled at the token endpoint using the urn:openid:params:grant-type:ciba grant. Requires client authentication.

RFC 8707 resource indicators bind the request to a single resource server before user authorization. A valid resource binds the request to that resource server; when omitted from a request carrying permission scopes or authorization details the configured defaultResourceServer is used, and such a request with no resource and no default is rejected with invalid_target. OIDC-only requests without a resource remain valid and keep the client_id audience. Multiple resource values, including duplicates, are rejected with invalid_target. The resulting access token has the bound resource server identifier as its sole aud, and its permissions are limited to those defined by that resource server. A resource optionally supplied when polling the token endpoint must exactly match the bound resource server.

RFC 9396 authorization_details may be sent here, as RFC 9396 section 3 allows for backchannel authentication requests. See the authorization_details field.

Request body (required): application/x-www-form-urlencoded

Schema: BackchannelAuthRequest

11 properties
NameTypeRequiredDescription
client_idstring

The client identifier (required when not using HTTP Basic auth).

client_secretstring

The client secret (required for confidential clients not using HTTP Basic auth).

login_hintstring

A hint identifying the user to authenticate. Exactly one of login_hint or id_token_hint must be provided.

id_token_hintstring

A previously issued ID token identifying the user. Exactly one of login_hint or id_token_hint must be provided.

login_hint_tokenstring

Defined by the CIBA specification but not supported; requests including it are rejected with invalid_request. Use login_hint instead.

scopestringYes

Space-separated scopes. Must include openid.

resourcestring

Resource indicator per RFC 8707 (absolute URI, no fragment). Only one value is supported; requests with multiple resource values, including duplicates, are rejected with invalid_target. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used; such a request with no resource and no default is rejected with invalid_target. OIDC-only requests use the client_id audience.

binding_messagestring

Optional human-readable message shown to the user in the authentication notification (CIBA Core 1.0 §7.1). Limited to 256 printable characters.

requested_expiryinteger

Requested lifetime of the auth_req_id in seconds. Clamped to the server maximum.

acr_valuesstring

Space-separated list of requested Authentication Context Class Reference values.

authorization_detailsstring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes. The details are validated before the user is notified. The user's login flow processes them and asks the user to approve them, as on the authorization code path, so the flow needs the consent step, preceded by the authorization detail step when a requested type declares a processor. The token response to the poll carries the approved details, and the polling token request may modify them. When the user's flow refuses them, the poll returns access_denied with the generic denial description; the processor's reason is not returned on CIBA.

Responses

CodeDescriptionSchema
200

Backchannel authentication request accepted.

BackchannelAuthResponse
400

Bad Request — invalid_request, invalid_scope, invalid_target, unknown_user_id, invalid_binding_message, invalid_authorization_details, or unauthorized_client.

OAuthError
401

Unauthorized — client authentication failed.

OAuthError

Schemas​

AuthorizationDetailsTypesResponse​

Type: object

1 property
NameTypeRequiredDescription
typesarray of AuthorizationDetailsTypeMetadataYes

AuthorizationDetailsTypeMetadata​

Type: object

6 properties
NameTypeRequiredDescription
typestringYes

The type value clients send in authorization_details.

namestringYes
descriptionstring
versionintegerYes

The type's version, which increments when a change affects earlier approvals and grants.

schemaobjectYes

The JSON Schema 2020-12 of the fields a client may send, in the order the type declares them. Fields the processor supplies and field policies are left out.

modificationsarray of objectYes

The changes a client may make to a granted detail at the token endpoint.

AuthCallbackRequest​

Type: object

4 properties
NameTypeRequiredDescription
authIdstringYes

The authorization session identifier returned by the flow engine.

assertionstringYes

Signed JWT assertion from the flow engine carrying the terminal flow outcome. A completed flow returns an authentication assertion (relay the flow response's assertion field); a terminally failed flow returns an error assertion carrying the flow error type and description (relay the flow response's errorAssertion field). The server validates the signature and the binding to this authorization request before acting, and tells the two apart by the assertion's own claims.

typestring

OAuth grant type of the request. Defaults to the authorization code flow when absent.

Allowed values: authorization_code, urn:openid:params:grant-type:ciba, urn:ietf:params:oauth:grant-type:device_code

sessionDataarray of object

The SSO sessions the flow's responses returned, as the flow execution API's sessionData has them. The code keeps them, up to ten, for the device_sso scope. An entry with a missing field, or a field longer than 128 characters, is ignored.

AuthCallbackResponse​

Type: object

1 property
NameTypeRequiredDescription
redirect_uristringYes

The full redirect URI for the client, including the authorization code and state.

FlowCallbackStatusResponse​

Type: object

1 property
NameTypeRequiredDescription
statusstringYes

Indicates that the CIBA or Device Code callback was processed successfully.

Allowed values: OK

DeviceAuthorizationRequest​

Type: object

4 properties
NameTypeRequiredDescription
client_idstring

The client identifier, required when it is not supplied through client authentication.

client_secretstring

The client secret for confidential clients using form-based authentication.

scopestring

Space-separated list of requested scopes.

resourcearray of string (uri)

Resource indicator per RFC 8707. ThunderID supports one resource value; multiple values are rejected with invalid_target.

DeviceAuthorizationResponse​

Type: object

6 properties
NameTypeRequiredDescription
device_codestringYes

Opaque code used by the device to poll the token endpoint.

user_codestringYes

Short code displayed by the device and entered by the user.

verification_uristring (uri)Yes

URI where the user enters the user code and completes authorization.

verification_uri_completestring (uri)Yes

Verification URI containing the user code for direct navigation or a QR code.

expires_ininteger (int64)Yes

Lifetime of the device code and user code in seconds.

intervalinteger (int64)Yes

Minimum number of seconds between token endpoint polling requests.

TokenRequest​

Type: object

19 properties
NameTypeRequiredDescription
grant_typestringYes

The OAuth 2.0 grant type.

Allowed values: authorization_code, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:jwt-bearer, urn:ietf:params:oauth:grant-type:device_code, urn:openid:params:grant-type:ciba

client_idstring

The client identifier (required when not using HTTP Basic auth).

client_secretstring

The client secret (required for confidential clients not using HTTP Basic auth).

codestring

The authorization code (required for authorization_code grant).

redirect_uristring

Must match the redirect_uri used in the authorization request.

code_verifierstring

PKCE code verifier (RFC 7636).

scopestring

Space-separated list of requested scopes.

refresh_tokenstring

The refresh token (required for refresh_token grant).

subject_tokenstring

The subject token for token exchange (RFC 8693).

subject_token_typestring

The type URI of the subject token. A device secret (device_secret from a code exchange) is sent as urn:ietf:params:oauth:token-type:jwt.

actor_tokenstring

The actor token for token exchange (RFC 8693).

actor_token_typestring

The type URI of the actor token.

requested_token_typestring

The desired type of the issued token (token exchange only). Set to urn:ietf:params:oauth:token-type:id-jag to request an Identity Assertion Authorization Grant instead of an access token; this requires subject_token_type to be urn:ietf:params:oauth:token-type:id_token and exactly one audience value.

audiencestring

Accepted for RFC 8693 token-exchange compatibility; it does not determine the issued access token's aud claim (use resource to select the token audience). Required, and limited to exactly one value, when requesting an ID-JAG (requested_token_type=urn:ietf:params:oauth:token-type:id-jag); then the value must match one of the client's configured allowedAudiences.

resourcestring

Resource indicator (RFC 8707). For access-token issuance, binds the issued access token to exactly one resource server. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used, and if neither is available the request is rejected with invalid_target. OIDC-only and scopeless requests use the client_id audience. Optional for ID-JAG requests, where it is embedded in the issued ID-JAG's resource claim. For the jwt-bearer grant, when present it must be a subset of the assertion's own resource claim.

assertionstring

ID-JAG assertion JWT issued by a trusted external IdP (draft-ietf-oauth-identity-assertion-authz-grant). Required for the urn:ietf:params:oauth:grant-type:jwt-bearer grant.

auth_req_idstring

The backchannel authentication request identifier returned by /oauth2/bc-authorize. Required for the urn:openid:params:grant-type:ciba grant.

authorization_detailsstring

RFC 9396 authorization details as a JSON array. On the authorization_code, urn:openid:params:grant-type:ciba and refresh_token grants it modifies the grant (RFC 9396 section 6): each entry is a whole detail object that must be an allowed modification of a distinct granted detail of its type, and the access token carries only the entries. An entry may leave out the fields the processor supplied, which are taken from the granted detail. When the request leaves out authorization_details, the token response carries the whole grant, including any values the user changed at consent, which a later request (for example on refresh) may narrow. On client_credentials it is a new request: every requested type must have a processor, the token carries only the details the processors approve, and a request whose details are all refused fails with invalid_authorization_details. Other grants refuse it with invalid_authorization_details.

device_codestring

The device code returned by /oauth2/device-authorize. Required for the urn:ietf:params:oauth:grant-type:device_code grant.

TokenResponse​

Type: object

9 properties
NameTypeRequiredDescription
access_tokenstringYes

The issued access token.

token_typestringYes
expires_ininteger (int64)Yes

Lifetime of the access token in seconds.

refresh_tokenstring

The refresh token, if issued.

scopestring

The scopes granted (may differ from those requested).

id_tokenstring

The ID token, issued for openid scope.

issued_token_typestring

The type of the issued token (token exchange only).

authorization_detailsarray of object

The RFC 9396 authorization details the access token carries, when the grant has any.

device_secretstring

The SSO sessions the callback posted for the authorization code (authorization code grant only). Returned only when the authorization request asked for the device_sso scope and the callback posted sessions, so a sign-in that reused an existing session, which returns none to post, gets none. A JWT signed by the server and typed sso-session+jwt. Its aud is this server, since it is presented back here as a token exchange subject_token; its sub is the resource ID of the user who signed in, not the application's token subject, so it is the same for every application; its exp the session absolute timeout from now, and its session_data claim lists the sessions as flow_identifier and session_handle pairs, as the flow execution API's sessionData does. The handles resume the sessions, so keep it as secret as a credential.

PARRequest​

Type: object

13 properties
NameTypeRequiredDescription
response_typestringYes

Allowed values: code

client_idstringYes
redirect_uristring
scopestring
statestring
noncestring
code_challengestring
code_challenge_methodstring

Allowed values: S256, plain

resourcestring

Resource indicator per RFC 8707 (absolute URI). Only one value is supported; multiple resource values are rejected with invalid_target.

authorization_detailsstring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes.

acr_valuesstring
claimsstring
promptstring

Space-separated list of prompts (OIDC Core §3.1.2.1). Supported values: login forces re-authentication; consent forces re-consent for all required attributes regardless of existing consent records.

PARResponse​

Type: object

2 properties
NameTypeRequiredDescription
request_uristringYes

The request URI referencing the stored authorization parameters.

expires_ininteger (int64)Yes

Lifetime of the request_uri in seconds.

IntrospectRequest​

Type: object

2 properties
NameTypeRequiredDescription
tokenstringYes

The token to introspect.

token_type_hintstring

Hint about the type of the submitted token.

RevokeRequest​

Type: object

2 properties
NameTypeRequiredDescription
tokenstringYes

The access or refresh token to revoke.

token_type_hintstring

Hint about the type of the submitted token (access_token or refresh_token). Accepted per RFC 7009 §2.1 but optional; ThunderID tokens are self-describing, so the hint does not affect processing.

IntrospectResponse​

Type: object

14 properties
NameTypeRequiredDescription
activebooleanYes

Indicates whether the token is currently active.

scopestring
client_idstring
usernamestring
token_typestring
expinteger (int64)
iatinteger (int64)
nbfinteger (int64)
substring
sub_typestring

Identity class of the token subject. Present on tokens issued through the client_credentials grant, where the OAuth client itself is the subject, so a resource server can apply policy that differs by class. Absent for user-subject tokens.

Allowed values: application, agent

audone of: string, array of string

Audience — may be a string or an array of strings.

issstring
jtistring
authorization_detailsarray of object

The RFC 9396 authorization details the token carries, when it has any.

JWKSResponse​

Type: object

1 property
NameTypeRequiredDescription
keysarray of JWKYes

JWK​

Type: object

12 properties
NameTypeRequiredDescription
kidstring

Key ID.

ktystringYes

Key type (e.g. RSA, EC).

usestring

Intended use (sig or enc).

algstring

Algorithm.

nstring

RSA modulus (Base64urlUInt).

estring

RSA public exponent (Base64urlUInt).

crvstring

EC curve name.

xstring

EC x coordinate.

ystring

EC y coordinate.

x5carray of string

X.509 certificate chain.

x5tstring

X.509 certificate SHA-1 thumbprint.

x5t#S256string

X.509 certificate SHA-256 thumbprint.

UserInfoResponse​

Type: object

19 properties
NameTypeRequiredDescription
substringYes

Subject identifier.

namestring
given_namestring
family_namestring
middle_namestring
nicknamestring
preferred_usernamestring
profilestring
picturestring
websitestring
emailstring
email_verifiedboolean

Whether the user verified the email in this response, as recorded at sign-in. Released only with email.

genderstring
birthdatestring
zoneinfostring
localestring
phone_numberstring
phone_number_verifiedboolean

Whether the user verified the phone_number in this response, as email_verified describes.

updated_atinteger (int64)

DCRRegistrationRequest​

Type: object

Language-tagged fields (e.g. client_name#fr) are also accepted as top-level properties.

23 properties
NameTypeRequiredDescription
ou_idstring

Organization Unit ID to associate the client with.

redirect_urisarray of stringYes

Registered redirect URIs.

post_logout_redirect_urisarray of string

Allowed post-logout redirect URIs for RP-Initiated Logout.

backchannel_logout_uristring

OIDC Back-Channel Logout endpoint. An absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https.

grant_typesarray of string

Allowed values: authorization_code, implicit, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:device_code

response_typesarray of string

Allowed values: code

client_namestring
client_uristring
logo_uristring
token_endpoint_auth_methodstring

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

jwks_uristring
jwksobject
scopestring
contactsarray of string
tos_uristring
policy_uristring
require_pushed_authorization_requestsboolean
userinfo_signed_response_algstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring

DCRUpdateRequest​

Type: DCRRegistrationRequest

Request body of an RFC 7592 client configuration update. It carries the registration metadata together with the two fields that only an update has.

25 properties
NameTypeRequiredDescription
ou_idstring

Organization Unit ID to associate the client with.

redirect_urisarray of stringYes

Registered redirect URIs.

post_logout_redirect_urisarray of string

Allowed post-logout redirect URIs for RP-Initiated Logout.

backchannel_logout_uristring

OIDC Back-Channel Logout endpoint. An absolute http or https URL without userinfo, a fragment or a wildcard; public clients must use https.

grant_typesarray of string

Allowed values: authorization_code, implicit, client_credentials, refresh_token, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:device_code

response_typesarray of string

Allowed values: code

client_namestring
client_uristring
logo_uristring
token_endpoint_auth_methodstring

Allowed values: client_secret_basic, client_secret_post, private_key_jwt, none

jwks_uristring
jwksobject
scopestring
contactsarray of string
tos_uristring
policy_uristring
require_pushed_authorization_requestsboolean
userinfo_signed_response_algstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring
client_idstringYes

Identifier of the client being updated. Required, and it must match the client in the request path: a request that omits it, or that names a different client, is rejected.

client_secretstring

Optional. When present it must match the client's currently issued secret, otherwise the request is rejected. The value is only verified, never written: a client cannot choose its own secret.

DCRRegistrationResponse​

Type: object

Language-tagged variants (e.g. client_name#fr) are included as top-level properties in the response.

26 properties
NameTypeRequiredDescription
client_idstringYes
client_secretstring
client_secret_expires_atinteger (int64)Yes

Unix timestamp when the secret expires, or 0 if it never expires.

app_idstring

Internal application ID.

redirect_urisarray of string
post_logout_redirect_urisarray of string
backchannel_logout_uristring
grant_typesarray of string
response_typesarray of string
client_namestring
client_uristring
logo_uristring
token_endpoint_auth_methodstring
jwks_uristring
jwksobject
scopestring
contactsarray of string
tos_uristring
policy_uristring
require_pushed_authorization_requestsboolean
userinfo_signed_response_algstring
userinfo_encrypted_response_algstring
userinfo_encrypted_response_encstring
id_token_signed_response_algstring
id_token_encrypted_response_algstring
id_token_encrypted_response_encstring

BackchannelAuthRequest​

Type: object

11 properties
NameTypeRequiredDescription
client_idstring

The client identifier (required when not using HTTP Basic auth).

client_secretstring

The client secret (required for confidential clients not using HTTP Basic auth).

login_hintstring

A hint identifying the user to authenticate. Exactly one of login_hint or id_token_hint must be provided.

id_token_hintstring

A previously issued ID token identifying the user. Exactly one of login_hint or id_token_hint must be provided.

login_hint_tokenstring

Defined by the CIBA specification but not supported; requests including it are rejected with invalid_request. Use login_hint instead.

scopestringYes

Space-separated scopes. Must include openid.

resourcestring

Resource indicator per RFC 8707 (absolute URI, no fragment). Only one value is supported; requests with multiple resource values, including duplicates, are rejected with invalid_target. When omitted from a request carrying permission scopes or authorization details, the configured defaultResourceServer is used; such a request with no resource and no default is rejected with invalid_target. OIDC-only requests use the client_id audience.

binding_messagestring

Optional human-readable message shown to the user in the authentication notification (CIBA Core 1.0 §7.1). Limited to 256 printable characters.

requested_expiryinteger

Requested lifetime of the auth_req_id in seconds. Clamped to the server maximum.

acr_valuesstring

Space-separated list of requested Authentication Context Class Reference values.

authorization_detailsstring

RFC 9396 authorization details: a JSON array of objects, each naming a registered type. Each object is validated against its type (its schema and limits; a member the type does not declare is refused, the RFC 9396 common fields included), and an invalid one is refused with invalid_authorization_details. Details carry no resource server: the access token audience comes from resource, or the default resource server when it is omitted, as for permission scopes. The details are validated before the user is notified. The user's login flow processes them and asks the user to approve them, as on the authorization code path, so the flow needs the consent step, preceded by the authorization detail step when a requested type declares a processor. The token response to the poll carries the approved details, and the polling token request may modify them. When the user's flow refuses them, the poll returns access_denied with the generic denial description; the processor's reason is not returned on CIBA.

BackchannelAuthResponse​

Type: object

3 properties
NameTypeRequiredDescription
auth_req_idstringYes

Unique identifier for the backchannel authentication request, polled at the token endpoint.

expires_inintegerYes

Lifetime of the auth_req_id in seconds.

intervalintegerYes

Minimum number of seconds the client must wait between token endpoint polls.

Error​

Type: object

Error returned by the authorization details type metadata endpoints.

3 properties
NameTypeRequiredDescription
codestringYes

Error code.

messageI18nMessageYes

Internationalized message with translation key and default value.

descriptionI18nMessage

Internationalized message with translation key and default value.

I18nMessage​

Type: object

Internationalized message with translation key and default value.

2 properties
NameTypeRequiredDescription
keystringYes

Translation key for fetching localized message.

defaultValuestringYes

Default message in English (fallback).

OAuthError​

Type: object

2 properties
NameTypeRequiredDescription
errorstringYes

OAuth 2.0 error code.

error_descriptionstring

Human-readable error description.

Was this page helpful?