Skip to main content
GET
Complete an SSO sign-in (the provider redirects here)

Path Parameters

provider
string
required

Sign-in provider id, from GET /auth/providers (for example google).

Pattern: ^[a-z0-9_-]+$

Query Parameters

code
string

The provider's authorization code. Missing when the user denied sign-in.

state
string

The state the API sent in the authorize URL. Must match the flow cookie.

error
string

Provider error when the user denied sign-in, for example access_denied.

Response

Signed in. Location is return_to; Set-Cookie carries the session.