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

Start OIDC Authorization Code + PKCE flow and redirect user to identity provider.

Parameters

Query2 optional
redirectstringquery

Optional post-login path inside the UI.

methodstringquery

Optional sign-in method, the id of a Dex connector such as gitlab or console-github. Dex then opens that method at once instead of its list of methods. A value that is not an id is ignored.

Responses

302

Redirect to identity provider authorization endpoint

400

The request does not match the operation contract (request.invalid): a parameter or body field has the wrong type, format or value.

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.

502

Bad Gateway

503

Service Unavailable

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

↑ ↓ to moveEnter to openEsc to close