Skip to content
Start free in Cloud

Complete SSO login REST API

GET
/api/auth/sso/callback
curl --request GET \
--url 'http://127.0.0.1:25737/api/auth/sso/callback?state=example'

Consumes one OIDC callback, validates the authorization state, PKCE exchange, signed ID token, issuer, audience, nonce, verified email, and allowed domain, then rechecks live team authorization. A scoped pending invitation retains its requested role; optional trusted-domain JIT provisioning creates a Member only after managed-cloud limits pass. Provider access, ID, and refresh tokens are never persisted.

state
required
string
code
string
error
string

Redirects to the requested safe return path on success. Failed invitation flows return to invitation acceptance with the unconsumed token and a stable error code; other failures return to login.