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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider
required
string
Query Parameters
Section titled “Query Parameters”inviteToken
string
Optional pending-invitation token to accept after login
Responses
Section titled “Responses”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
{ "error": "example", "message": "example"}Session secret not configured
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Provider not configured
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}