Docs
Live demo
POST/api/v2/identities/{id}/auth-bindings/{bindingId}/confirm
security:manageConsole session only

Replace one selected legacy pending row with an administrator-confirmed immutable OIDC key. The operation is tenant-scoped and never infers a subject from username or email. An administrator with an enrolled second factor must have confirmed it within the re-authentication window (POST /auth/mfa/reauth). An API token makes this change only when it was issued with allow_security_changes.

Parameters

Path2 required of 2
idstring · uuidpathrequired

Identity ID (UUID)

bindingIdstring · uuidpathrequired

Pending auth binding ID (UUID)

Request body application/json · ConfirmPendingIdentityAuthBindingRequest

Immutable key confirmed by an organization administrator

Required3 of 3 fields
issuerstringrequired

Canonical issuer from the verified OIDC ID token.

min length 1 · max length 2048
dex_connector_idstringrequired

Dex connector id string, not connector_configs.id.

min length 1 · max length 255
subjectstringrequired

Immutable upstream subject from Dex federated_claims.user_id.

min length 1 · max length 1024

Responses

200

Confirmed

IdentityAuthBindingResponse · 12 fields
idstring · uuidrequired
identity_idstring · uuidrequired
issuerstringrequired
dex_connector_idstringrequired
subjectstringrequired
statestringrequired
pending_confirmationactive
sourcestringrequired
legacyadminjitprovider_backfill
confirmed_bystring · uuid
can be null
confirmed_atstring · date-time
can be null
created_atstring · date-timerequired
updated_atstring · date-timerequired
last_login_atstring · date-time
can be null
403

Forbidden: the caller's roles do not grant the permission of the operation, or the administrator's second factor was not confirmed recently (details.reason=mfa_reauth_required), or the request uses an API token issued without allow_security_changes (details.reason=api_token_security_changes_not_allowed).

404

Identity or pending binding not found

409

Immutable key conflict or binding is no longer pending. Also (details.error_code sign_in_of_other_organization: the sign-in belongs to a person of another organization.)

Common errors: 400 401 413 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close