Skip to main content

completeOidcLogin

POST 

/api/v1/auth/oidc/callback

The installation's callback, on any host: completes the login with the code and state the IdP returned to the callback page. Takes the login of the hub the state names, once and within its 10 minutes, redeems the code with the PKCE verifier, validates the ID token (issuer, audience, nonce) and the hub's organization and tenant (docs/architecture.md §11 Sign-in), creates or updates the hub's oidc user with the group claim (docs/schema/hub.sql app_user) and answers the URL that hands the login over to the hub's host, with a code in its fragment valid 60 s (redeemLoginHandoff). An ID token that signals group overage is refused (docs/integrations.md §10). Audited as a login of the hub, a refusal as an authentication failure.

Request​

Responses​

Signed in to the hub; the UI navigates to handoff_url