Documentation
Team SSO
Single Sign-On (SSO) lets you require everyone in your team to sign in with your organisation's identity provider, such as Google Workspace, Microsoft Entra ID or Okta, before they can access your team. When someone leaves your organisation and you disable them in your identity provider, they lose access to your Servd team too.
SSO works alongside your normal Servd login rather than replacing it. Members still log in to Servd with their email, password and 2FA as usual. When they open a team that enforces SSO, they're asked to sign in with that team's identity provider, and that sign in only unlocks that one team. Anyone who belongs to several teams keeps one Servd account, and each team decides for itself whether SSO is required.
SSO is configured per team, so enabling it only affects your team. Your members' access to other teams is unchanged.
Before You Start #
You'll need:
- An identity provider that supports OpenID Connect (OIDC). Most do, including Google Workspace, Microsoft Entra ID, Okta, Auth0 and Keycloak. SAML isn't currently supported.
- Permission to create an application (sometimes called a client or app registration) in that identity provider.
- Manage permission on your Servd team, so you can change its settings.
Your identity provider must be reachable over the public internet using https on the standard port (443).
Set Up SSO #
- Select your team from the main navigation and click the "Team Settings" button.
- Scroll to the "Enforce Single Sign-On (SSO)" section and copy the "Redirect URI" using the copy button next to it.
- In your identity provider, create a new OpenID Connect web application. Add the Redirect URI you copied as an allowed redirect (or callback) URL, and allow the
openidandemailscopes. - Copy the application's issuer URL, client ID and client secret from your identity provider.
- Back in Servd, paste them into the "Issuer URL", "Client ID" and "Client Secret" fields.
- Click the "Save" button.
When you save, Servd checks that it can read your identity provider's configuration from the issuer URL. If it can't, you'll see an error next to the "Issuer URL" field.
The issuer URL is the base address your identity provider publishes its OpenID Connect configuration under. Some common examples:
| Identity provider | Issuer URL |
|---|---|
| Google Workspace | https://accounts.google.com |
| Microsoft Entra ID | https://login.microsoftonline.com/<tenant-id>/v2.0 |
| Okta | https://<your-domain>.okta.com |
| Auth0 | https://<your-domain>.auth0.com/ |
Saving your settings doesn't turn SSO on. Members aren't affected until you enforce it, which is covered below.
The client secret is stored encrypted and is never shown again after you save it. Leave the field blank when you change other settings to keep the existing secret.
Test and Enforce SSO #
Before you enforce SSO, you need to sign in with it yourself. This proves the connection works, so you can't lock your team out with a typo.
- In the "Enforce Single Sign-On (SSO)" section, click the "Test SSO" button.
- Sign in with your identity provider. You'll be returned to Team Settings.
- Flip the switch at the top of the section to enforce SSO.
The switch stays greyed out until you've signed in with "Test SSO" in your current session. Above the settings you'll also see how many members have linked their SSO account, how many are exempt, and how many will be asked to sign in on their next visit.
You can turn enforcement off at any time with the same switch. Your settings, linked accounts and exemptions are kept, so you can turn it back on later.
If you change the "Issuer URL" or "Client ID", everyone is signed out of SSO and enforcement is turned off until you test the new connection and enforce it again. Changing the issuer URL also unlinks every member's SSO account.
SSO Session Length #
The "SSO Session Length" setting controls how long a member's SSO sign in lasts before Servd sends them back to your identity provider. It's set in minutes, from 5 minutes up to 43,200 minutes (30 days), and defaults to 1,440 minutes (24 hours).
The session length is counted from the moment the member signs in, and activity doesn't extend it. An SSO sign in also ends when the member logs out of Servd.
If the member's session with your identity provider is still active when their Servd SSO sign in expires, they'll usually be passed straight back to Servd without having to enter their details again. To make members re-enter their credentials more often, shorten the session length in your identity provider's own settings.
Require Matching Email Addresses #
Some identity providers, Google in particular, will sign in any account that exists, not just accounts that belong to your organisation. Without extra checks, a member could link a personal Google account to your team's SSO.
To prevent this, tick the "Require matching email addresses" option and click the "Save" button. Servd will then only accept an SSO sign in when:
- The email address from your identity provider matches the member's Servd account email (ignoring capitalisation).
- The member has verified their Servd email address.
- Your identity provider supplies an email address and doesn't report it as unverified.
The check runs on every sign in, not just the first one. When you turn it on, any member whose linked SSO email doesn't match is signed out of SSO straight away and must sign in again with the right account.
You can't turn this option on if your own linked SSO email doesn't match your Servd email, as it would lock you out.
Note that enabling this option will prevent any contractors from accessing your team, unless they have an identity on your identity provider or you specifically exempt them from requiring SSO.
Manage Members #
Once SSO is set up, the "Members" section of Team Settings shows each member's SSO status:
| Status | Meaning |
|---|---|
| SSO linked | The member has signed in with SSO. The email from your identity provider is shown next to it. |
| SSO not linked | The member hasn't signed in with SSO yet. They'll be asked to when they next visit your team. |
| Exempt from SSO | The member can access your team without signing in with SSO. |
The first time a member signs in with SSO, their identity provider account is linked to their Servd account. After that, only that same identity provider account can be used to sign in to your team. This stops someone else's account in your identity provider from being used to access a member's Servd account.
Exempt a Member
You might want to exempt members who aren't in your identity provider, such as freelancers or agency staff. Click the "Exempt from SSO" button next to the member. To require SSO again, click the "Require SSO" button.
Exemptions are recorded in your team's activity log.
Unlink a Member
If a member linked the wrong identity provider account, click the "Unlink SSO" button next to them. They'll be signed out of SSO and can link a different account the next time they sign in.
When a member is removed from your team, their SSO link and exemption are removed too.
Members who have access to individual projects in your team, but aren't members of the team itself, are also asked to sign in with SSO when they open those projects.
Sign Everyone Out or Remove SSO #
To make every member sign in with your identity provider again, for example after a security incident, click the "Sign everyone out of SSO" button. This includes you. Members stay logged in to Servd, but they'll be asked to sign in with SSO the next time they open your team.
To stop using SSO entirely, click the "Remove SSO" button. This deletes your SSO settings (including the stored client secret), every member's SSO link and all exemptions. If you only want to pause SSO, turn enforcement off with the switch instead, which keeps everything in place.
Signing In as a Member #
If you're a member of a team that enforces SSO, here's what to expect:
- Log in to Servd as normal with your email, password and 2FA.
- Open the team. The first time, you'll see a page explaining that the team requires single sign-on, along with the name of its identity provider. If the team requires matching email addresses, it also tells you which account to use.
- Click the "Continue to SSO" button and sign in with your identity provider.
- You'll be returned to the page you were trying to open.
After your first sign in, Servd skips the explanation page and sends you straight to your identity provider whenever your SSO sign in has expired.
Your other teams aren't affected. Teams without SSO work exactly as before, and each team with SSO asks you to sign in with its own identity provider.
Troubleshooting #
If an SSO sign in fails, Servd shows the reason along with a "Try again" button. Trying again asks your identity provider to let you choose which account to use, which helps if you're signed in to more than one Google account.
| Problem | What to do |
|---|---|
| "Your Servd account is linked to a different identity" | You've signed in with a different identity provider account to the one you linked first. Use the original account, or ask a team manager to unlink your SSO account. |
| "This SSO identity is already linked to a different Servd user" | Another Servd user has already linked that identity provider account to the team. Sign in with your own account. |
| "…requires this to match your Servd account email" | The team requires matching email addresses. Click "Try again" and choose the account with the same email as your Servd account. |
| "Please verify your Servd email address" | Verify your email from the User Settings page, then try again. |
| An error next to "Issuer URL" when saving | Check the issuer URL is correct, uses https and is publicly reachable. Servd must be able to load <issuer>/.well-known/openid-configuration. |
| "The IdP rejected the sign in request" | Check the client ID, client secret and Redirect URI in your identity provider match the values in Servd. |
If Your Identity Provider Is Unavailable
If your identity provider is down or misconfigured, members who haven't already signed in with SSO won't be able to access your team. Exempt team managers can still get in and turn enforcement off. Otherwise, contact our support team and we'll help you regain access.