> For the complete documentation index, see [llms.txt](https://help.distro.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.distro.so/settings/workspace-settings/saml-sso.md).

# SAML SSO

Workspace admins can connect an identity provider so members sign in through SAML.

<figure><img src="https://2442454418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQA3GQNrIYVrPQ90NBwRa%2Fuploads%2FXLYOKTDL6m6gzNcGLLlJ%2FCleanShot%202026-09-10%20at%2021.19.21%402x.png?alt=media&amp;token=e2b1f6e4-eaff-424a-bd2f-5fbf4eac58f6" alt=""><figcaption></figcaption></figure>

## Configure the connection

1. Open **Settings → SAML SSO → Edit SAML SSO settings**.
2. Copy the **Assertion Consumer Service URL**, **Audience URI**, and **Relay State** shown by Distro into your identity provider's application settings.
3. Enter your **SSO domain**, **IdP entity ID**, **Single sign-on URL**, and **IdP certificate** in Distro.
4. Click **Save**.
5. Test SAML sign-in with a provisioned member before requiring it for the workspace.

The SSO domain is used to find the workspace from the email address entered during SAML sign-in. Use the domain your members sign in with.

## Require SAML sign-in

Turn on **Only allow SAML login** in the **Enforce SAML SSO** section, then save that section. Members must use the identity provider instead of ordinary password sign-in. The workspace owner is exempt from the password sign-in enforcement check.

## Create users at first sign-in

**Create new users from SAML** controls **Automatic account creation**. When enabled, a new user can be created after successful SAML authentication. When disabled, users without an account are told to ask their administrator to provision one. Save this section separately from the enforcement setting.

If sign-in cannot find the workspace, check the email domain and **SSO domain**. If authentication fails after reaching the identity provider, review its application configuration and the saved IdP values.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.distro.so/settings/workspace-settings/saml-sso.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
