# Single sign-on (SSO)

> Sign in to MoreVoice through your identity provider with SAML 2.0 or OpenID Connect: verify your domain, test and activate a connection, require single sign-on with break-glass accounts, and roll certificates over without downtime.

Single sign-on lets your people sign in to MoreVoice with their company account, through your identity provider (IdP). You decide who gets in, with what role, and you can require it: then nobody signs in with a password any more, except the break-glass accounts you choose. SCIM adds provisioning: people are created, updated and suspended from the IdP.

> **Availability**
>
> Single sign-on and SCIM are part of the Business and Enterprise plans, and are being turned on for organisations gradually. If you don't see **Security › Single sign-on**, contact us.

## Guides per identity provider

| Identity provider | Protocols | Provisioning |
| --- | --- | --- |
| [Okta](https://docs.morevoice.ai/enterprise/sso-okta/) | SAML 2.0 (recommended), OpenID Connect | SCIM 2.0 (users and groups) |
| [Microsoft Entra ID](https://docs.morevoice.ai/enterprise/sso-entra-id/) | SAML 2.0 (recommended), OpenID Connect | SCIM 2.0 (users and groups) |
| [Google Workspace](https://docs.morevoice.ai/enterprise/sso-google-workspace/) | SAML 2.0 | Just-in-time sign-up (Google has no SCIM for custom apps) |
| [Any other SAML 2.0 or OpenID Connect provider](https://docs.morevoice.ai/enterprise/sso-other/) | SAML 2.0, OpenID Connect | SCIM 2.0 if the IdP supports it |

Every value you paste into your IdP comes from **Security › Single sign-on**, with a copy button. The steps every guide shares are on this page.

## Before you start

- You need the **Owner** role in MoreVoice (or a role with *Manage single sign-on*), and admin rights in your IdP.
- Single sign-on is part of the Business and Enterprise plans.
- Nothing changes for anyone until you **test** and **activate** the connection. Until you **require** single sign-on,
  people can still sign in with a password, a passkey or Google / Microsoft.

## Verify your domain

Single sign-on links existing members by email, creates new members (just-in-time sign-up) and enforces itself only
for email domains your organisation has verified.

1. In **Security › Single sign-on › Domains**, enter your email domain (for example `acme.co.il`) and select **Add domain**.
2. At your DNS provider, publish the TXT record shown:
   - **Name (host):** `_morevoice.acme.co.il`. Some DNS providers add the domain themselves: then enter only `_morevoice`.
   - **Value:** `morevoice-verify=…` (copy it from the screen).
3. Select **Check now**. DNS changes can take a while to spread; check again after a few minutes.

Keep the record in place: MoreVoice checks it again every night, and after three failed nights the domain **lapses**
(single sign-on stops linking, creating and enforcing people from it, and admins are alerted). Public email
providers (gmail.com, outlook.com, walla.co.il …) and shared domains can't be verified.

## Test and activate

1. Open the connection and select **Test connection**. A small window opens your IdP's sign-in.
2. Sign in with an account from the IdP. The test runs every check but signs nobody in and creates no account.
3. The report appears in the window and on the connection: each check, what the IdP sent (personal values partly
   hidden), and who the person would be in MoreVoice (an existing member, a link by email, or a new member).
4. When the test passes, select **Activate**. A test is valid for 24 hours, and only for the settings it tested: change
   a setting and you test again.

Only one connection is active at a time; activating another one replaces it.

## Require single sign-on

When single sign-on is required, members sign in **only** through your IdP: password, passkey and Google / Microsoft
sign-ins are refused for them, and their sessions that didn't come through the IdP are signed out. It applies to
people with an email address on a verified domain, and to people who belong only to your organisation. People who
also belong to other organisations can still sign in to those; to open yours they sign in through your IdP. API keys
and SCIM keep working.

Before you can turn it on:

- a connection is **active**;
- you signed in through single sign-on yourself, in the session you're using (the screen has a button for it);
- you chose one or two **break-glass accounts**: owners or admins with two-step verification.

Then select **Require single sign-on** and type your organisation's ID to confirm.

**Break-glass accounts** keep their password and passkey, for when your IdP is down. Their password sign-in always
asks for the second factor, every break-glass sign-in is recorded in the audit log, and every owner gets an alert.
Store their credentials the way you store other emergency credentials. If every break-glass account is lost during an
IdP outage, MoreVoice support can turn the requirement off after verifying the request; this is recorded in your
audit log.

## Certificate rollover

SAML IdPs sign with a certificate that expires (Okta: 10 years by default; Entra ID: 3 years; Google: 5 years).
MoreVoice alerts admins 30 days before, and the Single sign-on screen shows a banner. To roll over without downtime:

1. In your IdP, create the new certificate (don't make it active yet, where the IdP allows that).
2. In MoreVoice, edit the connection and **paste both certificates** into *Signing certificate*: either one is accepted.
3. Test, activate, then switch the IdP to the new certificate.
4. Later, remove the old certificate from the connection (test and activate again).
