Skip to content

Begin OAuth login/signup (302 to provider)

Public. Optional inviteToken query rides along to accept a tenant invitation on callback. Sets a sealed one-time OAuth state cookie and 302-redirects to the provider.

provider
required
string
Allowed values: google github
inviteToken
string

Optional pending-invitation token to accept after login

Redirect to the provider authorize URL; Set-Cookie oauth state

Unsupported provider

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Session secret not configured

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Provider not configured

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}