Docs
Live demo
GET/api/v2/auth/dex/principal/login

Browser entry point used by Dex Principal connector to mint a one-time code for the Dex callback.

Parameters

Query5 required of 7
connector_idstringqueryrequired

Dex connector identifier configured on the OAuth client binding.

application_binding_idstring · uuidqueryrequired

Principal application Dex binding identifier.

callback_urlstringqueryrequired

Dex callback URL that receives the one-time code.

statestringqueryrequired

OIDC state value to echo back to Dex.

noncestringqueryrequired

OIDC nonce value bound to the one-time code.

scope_groupsbooleanquery

Whether Dex requested groups in the identity response.

scope_offline_accessbooleanquery

Whether Dex requested a refresh handle.

Responses

200

Principal local-password login form when the browser session is missing.

text/html

302

Redirect to Dex callback with code.

401

A request the browser marks as not opening a page (Sec-Fetch-Mode other than navigate: a favicon, an image, a script's fetch) does not start a sign-in (auth.authentication_required, reason navigation_required). No redirect, cookie or audit entry.

403

The console session has not met the second-factor requirement of the sign-in: the organization requires a factor the account has not set up, or the account has a factor the session never confirmed. An agent session meets it through the agent token. No Dex code is issued.

text/html

503

Service Unavailable

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

↑ ↓ to moveEnter to openEsc to close