Sso Auth Api Oidc Login

Sso Auth Api Oidc Login
Start the OIDC flow (public)

Answers 302 to the IdP authorization endpoint and sets the encrypted, callback-scoped request cookie (HttpOnly, Secure, SameSite=Lax, at most 10 minutes). When SSO is disabled or unavailable it answers 302 to the fixed internal login path /login, carrying only the error code SSO_DISABLED or SSO_UNAVAILABLE in the error query parameter (/login?error=). Public: no session required.

Request
URI
GET
https://{api_host}/api/v1/auth/oidc/login
COPY
Authentication
This operation uses the following authentication methods.
Responses
302

302 Found redirect to the IdP authorization endpoint, or to a fixed internal login path on failure

Operation doesn't return any data structure

Response Headers

string
Location

Redirect target


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/auth/oidc/login