Skip to main content

startOidcLogin

POST 

/api/v1/auth/oidc/start

Starts an OIDC login of the request's hub with the installation's issuer and client (docs/architecture.md §11 Sign-in), restricted to the hub's organization and tenant when it has them. Generates state (the hub's id, a dot and a random value), nonce and a PKCE verifier (S256), keeps them sealed with the hub's data key for 10 minutes (docs/schema/hub.sql login_attempt) with the hash of a random binding set in the cookie ex_login of this host, and returns the authorization URL that the UI navigates to. The IdP redirects to the installation's one callback page (<public_url>/login/callback), which completes the login with completeOidcLogin. An issuer that doesn't answer gives 503 (docs/pipeline.md §19 for the self-alert).

Request​

Responses​

The authorization URL; Set-Cookie sets ex_login