Bind a verified immutable (issuer, Dex connector id, upstream subject) key to a user identity. Unique collisions return 409 Conflict. Problem Details never contains email or mutable claims. 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
Identity ID (UUID)
Request body application/json · CreateIdentityAuthBindingRequest
Auth binding create request
Canonical issuer from the verified OIDC ID token.
Dex connector id string (for example gitlab or principal), not connector_configs.id.
Immutable upstream subject from Dex federated_claims.user_id.
Responses
Created
IdentityAuthBindingResponse · 12 fields
pending_confirmation activelegacyadminjitprovider_backfill 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).
Binding already belongs to another identity. Also (details.error_code sign_in_of_other_organization: the sign-in belongs to a person of another organization.)
Common errors: 400 401 404 413 429 503 504. They mean the same for every operation, see Errors.