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

# Single Sign-On (SSO)

Single Sign-On (SSO) allows your team to authenticate with Bijection using your
organization's identity provider (IdP). Once configured, team members can sign
in to Bijection through your IdP instead of using individual credentials.

## Finding the settings

SSO is configured on the
[Team Authentication page](https://console.bijection.com/team/settings/team-authentication),
under **Team Settings → Team Authentication**.

Two of its sections cover SSO:

* **Authentication Domains** — the email domains your team owns. SSO only
  manages members whose account uses one of these domains.
* **Single sign-on** — your identity provider connection.

![The Authentication Domains and Single sign-on sections before anything is configured](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_sso_sections.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=0d5c5a99206c1d28c398ef9d97c3aa8b)

## Setting up SSO

### 1. Verify a domain

Each connection is attached to a domain you own, so start by verifying yours.
Select **Add a domain** in the **Authentication Domains** section. Bijection opens
a separate configuration page in a new tab, where you enter the domain and
complete the DNS verification.

Verification is not instant. A domain shows as **Pending** until your DNS record
is picked up, and **Verified** once it is. You can re-open **Add a domain** at
any time to check on a pending domain.

![The Authentication Domains section listing a verified and a pending domain](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_domains.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=cc948a0f5658ec0e4283147095bf11a5)

> [!WARNING]
>
> Your own Bijection account needs a
> [verified email](https://console.bijection.com/profile) on one of these domains,
> otherwise you won't be able to log in through SSO yourself. When none of your
> verified emails match, the section shows a warning next to its title.

### 2. Connect your identity provider

Once a domain is verified, select **Configure** in the **Single sign-on**
section. Bijection opens a separate configuration page in a new tab, where you pick
your identity provider and follow its setup instructions.

![The Single sign-on section before a connection has been configured](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_single_sign_on.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=870d79faae3c574dff7b15299f2a21d0)

When you come back, the connection appears in the section with its status:

* **Active** — team members can log in through this identity provider.
* **Inactive** — the connection exists but isn't finished. Re-open it with **⋮ →
  Manage** to complete the remaining steps with your identity provider.

![The Single sign-on section with an active Okta SAML connection](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_single_sign_on_configured.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=d18b67fb7a92572b5fb93aad5dcdb5e6)

### 3. Test the connection

Log out and log back in through your identity provider to confirm the connection
works before requiring SSO for the whole team.

## Managing the connection

Use the **⋮** menu next to the connection to manage it:

![The connection menu with Manage, Renew certificate, and Disable Single sign-on](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_single_sign_on_menu.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=d147d15110a3413bff5c7fab9e7d2819)

* **⋮ → Manage** re-opens the configuration page for this connection.
* **⋮ → Renew certificate** walks you through replacing a signing certificate.
  It is offered only while one of the team's SSO certificates is expiring or
  expired.
* **⋮ → Disable Single sign-on** removes the connection. Team members can no
  longer log in through your identity provider. Your verified domains and
  directory are unaffected. It is refused while the team requires SSO: turn
  that off first.

## Require Single Sign-On

Once a connection is active, you can **require** SSO for the team by checking
**Require SSO to access team**. The console asks you to confirm before saving.
Bijection refuses the setting unless the team has an active connection and you
are signed in through SSO yourself, so that at least one working sign-in is
proven before everyone else depends on it.

![The confirmation dialog for requiring SSO to access the team](https://mintcdn.com/bijection-95ba84d3/MXGsXPKmgvoqOVRN/screenshots/pages_team_authentication_require_sso.png?fit=max\&auto=format\&n=MXGsXPKmgvoqOVRN\&q=85\&s=b85cd82171b0e97c753eb3700a592ce3)

When this setting is on:

* All team members must authenticate through your identity provider to access
  this team. This applies to console sessions and to personal access tokens,
  including the CLI's login.
* Sessions and personal tokens that did not sign in through SSO are refused
  from the moment the setting is saved, including ones already signed in, and
  keys issued to them for installations are revoked. Sign-ins from before
  Bijection recorded the sign-in method count as non-SSO.
* Team access tokens and deploy keys are not sign-ins and keep working, so an
  admin's team access token can always turn the requirement off again.

This only applies to the team that requires SSO. Members can still use other
login methods to access any other Bijection teams they belong to.

> [!WARNING]
>
> Test your SSO configuration before turning this on. If the connection doesn't
> work, nobody can access the team, including you.

## Who can configure SSO

Reading sign-in policy requires an organization Authority Read grant.
Changing the policy requires Authority Write and approval by a second
administrator.

Changes made here are recorded in the
[team audit log](https://docs.bijection.com/operate/administration#audit-log).


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