# Configure single sign-on

Choose between OIDC and advanced single sign-on (SSO) for Self-Managed Materialize.




> For the complete documentation index, see [llms.txt](https://preview.materialize.com/materialize/40269/llms.txt).


> **Public Preview:** This feature is in public preview.


Self-Managed Materialize supports two ways to set up single sign-on (SSO).
Both let users sign in through your identity provider (IdP) instead of
managing passwords in Materialize.

| Option | What it supports | What you deploy |
|---|---|---|
| [Simple SSO (OIDC)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/oidc/index.md) | OIDC sign-in against an OIDC-capable IdP, and group-to-role mapping if your IdP adds a groups claim | Nothing extra. You set Materialize's OIDC parameters to point at your IdP. |
| [Advanced SSO (OIDC, SAML and SCIM)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/advanced/index.md) | OIDC, SAML, SCIM provisioning, and group-to-role mapping | A Terraform-managed stack, powered by Ory, that acts as the OIDC issuer in front of Materialize. |

## When to use each option

| You need... | Use |
|---|---|
| OIDC against an OIDC-capable IdP (Okta OIDC, Google Workspace, Auth0 OIDC) | [Simple SSO (OIDC)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/oidc/index.md) |
| SAML against a SAML-only IdP (Entra SAML, ADFS, Auth0 SAML, Okta SAML) | [Advanced SSO (OIDC, SAML and SCIM)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/advanced/index.md) with Polis enabled |
| SCIM provisioning from your IdP | [Advanced SSO (OIDC, SAML and SCIM)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/advanced/index.md) with Polis enabled |
| One SSO endpoint so you can swap IdPs without changing Materialize's configuration | [Advanced SSO (OIDC, SAML and SCIM)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/advanced/index.md) |

Start with OIDC if your IdP supports it and you don't need SAML or SCIM.
Advanced SSO is a superset of the OIDC option, so you can move to it later
without rebuilding your Materialize deployment.


## Pages in this section

- [Advanced SSO (OIDC, SAML and SCIM)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/advanced/index.md): Configure OIDC, SAML, SCIM, and role mapping for Self-Managed Materialize with the advanced SSO stack.
- [Simple SSO (OIDC)](https://preview.materialize.com/materialize/40269/markdown-docs/self-managed-deployments/sso/oidc/index.md): Configure OIDC-based single sign-on (SSO) for Self-Managed Materialize.
