authentication

Initiate SSO login. Redirects to IdP.

get/api/v1/auth/login

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

provider'oidc' | 'saml'

SSO providers accepted by GET /auth/login.

Typing the provider query param with this enum lets FastAPI reject unknown values with a 422 at the validation layer instead of the handler falling through to a generic error for an input it was never going to support.

Response

Successful Response

unknown required

Changes