---
title: Single sign-on
description: Let a team sign in through its own identity provider with SAML 2.0 or OpenID Connect, on the domains it has proved.
---

Single sign-on (SSO) lets the people of a company open a BillionSend team by signing in at the company's identity provider (Okta, Microsoft Entra ID, Google Workspace, OneLogin and the like) instead of with a password. It works with **SAML 2.0** and **OpenID Connect**, and always starts from BillionSend: the sign-in screen or the team's **Test sign-in** button. Signing in from the identity provider's own app portal is not supported.

SSO is opened for a team by BillionSend on request; until then **Settings → Team** shows no SSO card. Once it is open, the team's **owners** set it up and its **admins** can verify domains and turn the requirement on or off.

## Set it up

1. **Choose the protocol** and fill in what your identity provider gives you.
   - **SAML:** the identity provider's entity ID, its sign-on URL and its signing certificate (PEM, in date).
   - **OpenID Connect:** the issuer URL, a client ID and a client secret. The client secret is stored encrypted and never shown again; leave the field blank on a later change to keep it.
2. **Copy the addresses the card shows into your identity provider.** For SAML these are the ACS URL, the entity ID and the metadata URL; for OpenID Connect, the redirect URI. They contain a connection ID that never changes, so a later edit does not break the identity provider's side.
3. **Pick the role** people get the first time they sign in: admin, developer or marketing, never owner. Someone who is a member already keeps their role.
4. **Add and verify your domains.** For each domain the card shows a TXT record to publish at `_billionsend-sso.<your domain>`; choose **Verify** once it is there. Only addresses on a verified domain can sign in through the connection, and a domain can be verified by one team at a time. An unverified domain lapses after 14 days.
5. **Test it** with **Test sign-in**.

Consumer mailbox providers (Gmail and the like) and BillionSend's own domains cannot be added.

## What happens at sign-in

A person enters their work email under **Sign in with SSO**, or an owner or admin uses **Test sign-in**. They are sent to the identity provider; when it vouches for them, BillionSend checks that their address is on one of the team's verified domains, makes the account if there is none, and adds them to the team with the role you chose. An address on any other domain is refused and no account is made.

- The identity provider is the second factor: signing in through SSO does **not** ask for BillionSend's own two-factor code, even when the account has it on.
- An existing account is linked only when its address is verified.
- Owners hear about every change to the setup and about each person who joins this way, by email and in the audit log.

## Require SSO

Under **Require SSO for this team**, people who are not owners can open the team only from a session that came through the connection and began in the last 24 hours; after that they sign in through the identity provider again. Other teams the person belongs to are unaffected, and so are API keys and agent keys, which belong to the team and not to a session.

- It can be turned on only after one successful sign-in through the connection, and by an admin only while signed in through it.
- **Owners are never held to it**, so a wrong setup or an identity provider that is down cannot lock the team out: an owner still signs in with their password.
- A person who is signed in some other way sees a page asking them to continue with SSO.
- OAuth and MCP authorizations of such a team are made only from a session that came through the connection.

There is no automatic removal: when someone leaves your company, disable them at your identity provider and remove them under **Settings → Team**. The 24-hour limit bounds how long a session they already hold keeps opening a team that requires SSO.

## Take it away

An owner can remove the connection. People who joined through it stay members with their role and the requirement ends. Deleting the team removes the connection too.
