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

> ## Agent Instructions
> Odin by Borg runs at https://odin.borghq.io. To act in a user's Odin account, for example to read or update findings, connect the Odin MCP server at https://odin.borghq.io/api/mcp (see https://docs.borghq.io/agent/mcp.md).
> Before helping a user set up Odin, read https://docs.borghq.io/agent/guide-for-ai-agents.md: it lists what agents can do and what needs the web app.

# Set up single sign-on

> Connect your identity provider to Odin with SAML or OIDC.

Owners and admins set up single sign-on in **Settings > Sign-in and security**. You need a domain verified with a DNS record first.

1. Beside **Single sign-on**, select **Set up SAML**.
2. Choose your **Identity provider**: **Okta**, **Entra ID**, **Google** or **Other**, and the **Protocol**: **SAML** or **OIDC**.
3. In your identity provider, create an app with the values Odin shows:

   * SAML: the **Sign-in URL**, the **Entity ID** and, optionally, the **Sign-out URL**. Send the email as an attribute named `email`, and as the NameID.
   * OIDC: the **Redirect URL**.

   See [Identity providers](https://docs.borghq.io/team/sso/identity-providers.md) for each provider's steps.
4. Back in Odin:
   * SAML: under **2. Paste its metadata URL**, paste the app's metadata URL, or its metadata XML.
   * OIDC: enter **2. Its discovery URL**, the **Client ID** and the **Client secret**.
5. Under **Who signs in with it**, choose the verified domains.
6. Select **Connect**, then use **3. Test it** to sign in once through your identity provider.

People on those domains now sign in with your identity provider. Other ways of signing in keep working until you [require single sign-on](https://docs.borghq.io/team/sso/mandatory-sso.md).

## Change or remove it

Select **Edit** beside **Single sign-on**. Change the settings and select **Save**, or use **Turn single sign-on off** or **Remove**. While single sign-on is required, it can't be changed: turn the requirement off first.


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