Skip to main content
PUT
Require members on this provider's domain to sign in through it

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationID
string
required

Unique identifier for a specific organization

Pattern: [a-zA-Z0-9_-~:]+
providerAlias
string
required

Alias identifying one of the organization's SSO identity providers

Body

application/json

Whether members on a provider's domain must sign in through it.

enforced
boolean
required

Enable to send every address on the domain to this provider. Disable to let members sign in however they could before.

Response

Identity provider after the change

An identity provider serving one of the organization's verified domains. The client secret is write-only and is never returned.

alias
string
required

Stable identifier for this provider, used in its own endpoints.

type
enum<string>
required

Which identity provider this is. google pins the login to a Google Workspace domain and microsoft to a single Entra tenant, taken from the issuer; oidc is the fallback for anything else that speaks OpenID Connect.

Available options:
google,
microsoft,
oidc
display_name
string
required

Name members see for this provider when signing in.

domain
string
required

The verified email domain this provider serves.

enforced
boolean
required

Whether members on this domain are sent to this provider automatically, leaving no other way in. Registering a provider does not set this; it is enabled separately once a sign-in through it has worked.

client_id
string
required

OAuth client ID the organization registered with the provider.

issuer
string<uri>

OIDC issuer URL, without the /.well-known suffix.