authentication

Initiate SSO login. Redirects to IdP.

get/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

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • breaking

      the query request parameter provider was restricted to a list of enum values

    • info

      added the new enum value oidc to the query request parameter provider

    • info

      added the new enum value saml to the query request parameter provider