> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yield.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Single sign-on (SSO)

> Configure OIDC or SAML 2.0 single sign-on so your team signs in to the dashboard through your identity provider.

SSO lets your team sign in to the Yield.xyz dashboard through your own identity provider instead of email code login. It's configured per team (not per project), and works with any OIDC-compliant or SAML 2.0-compliant identity provider; the dashboard includes setup hints for Google Workspace, Okta, and Azure AD (Entra ID) as examples, but no specific provider is required.

## Configuration model

A team has at most one SSO configuration, with:

* **Protocol**: `oidc` or `saml`.
* **Issuer**, plus protocol-specific fields: `clientId` and a client secret for OIDC; an `entryPoint` (IdP SSO URL) and IdP certificate for SAML.
* **Attribute mapping**: which IdP claim maps to email (required), and optionally name, surname, and department. An optional group or role claim can be stored for future use; it is not used to assign dashboard roles.
* **Enabled**: whether SSO login is available at all.
* **Enforced**: whether SSO is the only login method (see below).
* **SSO login domain** (optional): a single verified organization domain that lets members sign in via SSO without specifying a team ID. Consumer domains (for example gmail.com) are rejected.

Only the **owner** role can create, edit, or delete the SSO configuration. The **admin** role can view the current configuration read-only. Operator and member do not see the SSO settings page. See [Roles and permissions](https://docs.yield.xyz/documentation/advanced-setup/roles-permissions.md).

## User provisioning

Users are provisioned just in time. The first time someone signs in through your identity provider, the dashboard creates their account on your team with the **member** role; an owner or admin can change the role afterwards. Group or role claims from the identity provider are never used to assign dashboard roles.

On each SSO sign-in, the user's name, surname and department are updated from the mapped identity provider attributes. An email address that already belongs to a different Yield.xyz team is rejected. Every SSO sign-in and failed attempt is recorded in the team's audit log.

## Enforcing SSO

With **Enforced** off, SSO is an additional login option alongside email code login. Turning **Enforced** on blocks email code login for the whole team: everyone must authenticate through the identity provider from then on.

> [!WARNING]
>
> Confirm every team member can sign in via SSO before enforcing it. Once enforced, email code login stops working for the entire team.

## SSO exemption

A specific team member can be marked SSO-exempt, which lets that person keep signing in with email code login even while SSO is enforced for everyone else. This is set per member from the team page, not from the SSO settings page itself.

Who can toggle it depends on the target's role: an owner can set it for any other member (never for themselves), and an admin can set it only for operators and members, never for another admin, an owner, or themselves.

## What setup requires

SSO is configured in **Settings → Single Sign-On** in the dashboard. Yield.xyz shows the values to register in your identity provider, and you enter your identity provider's details in return:

| Protocol | Yield.xyz provides | You provide |
| - | - | - |
| OIDC | Redirect URI | Issuer URL, client ID, client secret |
| SAML | ACS URL, Entity ID | Issuer URL, entry point, IdP signing certificate |

Save with SSO enabled but not enforced, confirm an SSO sign-in works, then turn enforcement on.

## Next steps

> [card] [Roles and permissions](https://docs.yield.xyz/documentation/advanced-setup/roles-permissions.md)
>
> Who can configure SSO.

> [card] [Programmatic access](https://docs.yield.xyz/documentation/advanced-setup/programmatic-access.md)
>
> Automate project configuration with an Admin API key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.