Skip to content

Initiate OIDC authentication

GET
/api/v1/auth/sso/oidc/init

Generate an OIDC authorization URL for the client to redirect to.

Authorizations

Parameters

Query Parameters

tenant_id
required

The tenant initiating OIDC login

string

The tenant initiating OIDC login

provider

OIDC provider: okta, azure_ad, google

string
default: okta

OIDC provider: okta, azure_ad, google

Responses

200

Successful Response

Response containing an SSO redirect URL.

Attributes: redirect_url: The URL to redirect the user to. tenant_id: The tenant for this SSO flow.

object
redirect_url
required

URL to redirect the user to

string
tenant_id
required

Tenant for this SSO flow

string

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string