Skip to content

app.identity_providers

TableRow level security on

An org's enterprise identity provider (Section 9): SAML 2.0 or OIDC sign-in through a Supabase Auth SSO provider, optional just-in-time joins with a default role, and optional SCIM 2.0 provisioning authenticated by a hashed bearer token. Needs the saml_sso feature; SCIM also needs scim.

Primary key: id

Columns of app.identity_providers
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg the provider signs people into.References app.organizations.id
protocolapp.identity_protocolNoSAML or OIDC.
nametextNoProvider name, for example the IdP tenant.
auth_provider_idtextNoSupabase Auth SSO provider id; a sign-in through it carries app_metadata.provider = sso:<id>.
default_role_iduuidNoRole a person receives on a just-in-time or SCIM join. Never the Owner role.References app.roles.id
jit_enabledbooleanNoWhether signing in through the provider joins the org.
scim_enabledbooleanNoWhether SCIM provisioning is on.
scim_token_hashbyteaYesSHA-256 of the SCIM bearer token. The token is shown once. Never readable by signed-in callers.
scim_token_prefixtextYesVisible start of the SCIM token, to tell tokens apart.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id