SSO Providers (Self Hosted Only)

List registered SSO providers

get

Self-hosted only. Returns all registered SAML SSO providers and their associated domains.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
403

Forbidden - Requires role: owner

No content

get
/sfp/api/sso/providers
403

Forbidden - Requires role: owner

No content

Register a SAML SSO provider

post

Self-hosted only. Registers a SAML identity provider (Azure AD, Okta, etc.) for SSO authentication. Requires owner role.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
metadataUrlstringRequired

SAML metadata URL from your IdP

Example: https://login.microsoftonline.com/.../federationmetadata.xml
domainsstring[]Required

Email domains for this SSO provider

Example: ["company.com"]
providerIdstringOptional

Provider ID from a pre-registered IdP (cloud mode). When set, skips GoTrue registration and stores this ID directly for config auto-detect.

Example: f7cac9b2-dee0-4e73-b2fd-45116284175e
Responses
chevron-right
403

Forbidden - Requires role: owner

No content

post
/sfp/api/sso/providers

No content

Remove an SSO provider

delete

Self-hosted only. Removes a SAML SSO provider by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
chevron-right
403

Forbidden - Requires role: owner

No content

delete
/sfp/api/sso/providers/{id}
403

Forbidden - Requires role: owner

No content

Last updated

Was this helpful?