Single sign-on
Connect your company's identity provider (Okta, Microsoft Entra ID, Google Workspace, Ping Identity, OneLogin, JumpCloud or any SAML 2.0 or OIDC provider) so your people sign in to your workspace with their work account. Set-up steps for each provider, Require single sign-on, emergency admins and two-step.
Browse documentation
What single sign-on does
With single sign-on (Beta), your people sign in to your workspace through your company's own identity provider. Someone who types their work email on the sign-in page goes straight to your provider, signs in there as they do for your other tools, and comes back signed in.
- It works over SAML 2.0 or OIDC, with Okta, Microsoft Entra ID, Google Workspace, Ping Identity, OneLogin, JumpCloud and any other provider that speaks either.
- It is part of the Enterprise plan. On any other plan the Single sign-on card under Settings, Sign-in is locked and says what unlocks it. On the Enterprise plan, Nagent support turns it on for your workspace.
- Only addresses at your verified email domains are sent to your provider. Everyone else signs in the usual ways.
Before you start
- Be an admin of the workspace, on the Enterprise plan, with single sign-on turned on by support.
- Verify your email domain. Open Settings, Sign-in, add the domain under Email domains, add the TXT record it shows at your DNS host and press Check now.
- Have an admin of your identity provider at hand: you will copy two values into it and one or two values back.
Connect your identity provider
- Open Settings, Sign-in, and find Single sign-on.
- Pick your provider under Identity provider, and SAML 2.0 or OIDC under Connect by. The card links to your provider's steps below.
- Copy what the card shows into your provider:
- SAML: the ACS URL (also called the single sign-on URL or reply URL) and the Entity ID (also called the audience or identifier).
- OIDC: the Redirect URL.
- Copy back from your provider:
- SAML: its metadata URL, or download its metadata file and upload it.
- OIDC: its issuer URL, the client ID and the client secret. The secret is stored encrypted and never shown again; leave the field empty when you save later changes to keep it.
- Choose the role for people new to this workspace: Viewer (the default), Member or Approver. Admin roles are never given this way.
- Leave On ticked and press Save connection. We check the connection as you save: a metadata file that is not metadata, or an issuer we cannot reach, is refused with the reason.
Your provider should send the person's email address as the SAML NameID
(format: email address), and as attributes email, firstName and
lastName. OIDC providers send these as standard claims.
Okta
SAML:
- In the Okta Admin Console, open Applications, then Create App Integration, and choose SAML 2.0.
- Paste the ACS URL into Single sign-on URL and the Entity ID into Audience URI (SP Entity ID).
- Set Name ID format to EmailAddress and Application username
to Email. Add attribute statements
email,firstNameandlastNamefrom the user's email, first name and last name. - Finish, assign the people or groups who should sign in, and copy the Metadata URL from the Sign On tab into the card.
OIDC: create an OIDC, Web Application integration, add the
Redirect URL as a sign-in redirect URI, and copy the client ID and
client secret. The issuer URL is your Okta domain, such as
https://your-company.okta.com.
Microsoft Entra ID
SAML:
- In the Microsoft Entra admin center, open Enterprise applications, New application, Create your own application, and choose a non-gallery application.
- Open Single sign-on and choose SAML. Under Basic SAML Configuration, paste the Entity ID into Identifier and the ACS URL into Reply URL.
- Under Attributes & Claims, keep the email address as the unique user identifier.
- Copy the App Federation Metadata Url into the card, and assign users or groups under Users and groups.
OIDC: under App registrations, register a web application with the
Redirect URL, then add a client secret under Certificates & secrets.
The issuer URL is https://login.microsoftonline.com/<your tenant ID>/v2.0.
Google Workspace
Google Workspace connects by SAML. (Google's OIDC is the Continue with Google sign-in every workspace already has.)
- In the Google Admin console, open Apps, Web and mobile apps, Add app, Add custom SAML app.
- Download the IdP metadata file; upload it in the card.
- Under service provider details, paste the ACS URL and the Entity ID, and set Name ID format to EMAIL with Primary email as the Name ID.
- Map First name to
firstNameand Last name tolastName. - Turn the app on for the people or organisational units who should use it.
Ping Identity
SAML: in PingOne, add a SAML Application, paste the ACS URL and the Entity ID, map the subject to the email address, and copy the metadata URL or download the metadata file.
OIDC: add an OIDC Web App, add the Redirect URL, and copy the
client ID and secret. The issuer URL looks like
https://auth.pingone.com/<environment ID>/as.
OneLogin
SAML: add the SAML Custom Connector (Advanced) app. Paste the Entity ID into Audience and the ACS URL into ACS (Consumer) URL and its validator, and set the NameID to the email address. Copy the Issuer URL from the SSO tab as the metadata URL.
OIDC: add an OpenId Connect (OIDC) app with the Redirect URL, and
copy the client ID and secret from the SSO tab. The issuer URL looks
like https://your-company.onelogin.com/oidc/2.
JumpCloud
SAML: add a Custom SAML App under SSO Applications. Paste the
Entity ID as the SP Entity ID and the ACS URL, set the SAML subject
to the email, add the firstName and lastName attributes, and export the
metadata file to upload in the card.
OIDC: add a custom OIDC app with the Redirect URL and copy the client
ID and secret. The issuer URL is https://oauth.id.jumpcloud.com/.
Another provider
Any SAML 2.0 provider that signs its responses, or any OIDC provider with a discovery document, works. Give it the ACS URL and Entity ID (or the Redirect URL), send the email as described above, and bring back its metadata or issuer URL.
Signing in
- A person types their work email and presses Email me a code. If the address is at one of your verified domains and single sign-on is on, they go to your provider instead of getting a code. Every address at the domain gets the same screen, whether or not it has an account here.
- A person with no account yet gets one on their first sign-in, in your workspace, with the role you chose.
- An address that already has an account in another workspace is never joined to yours this way. The person sees "This email already has an account outside this workspace" and signs in the way they usually do, or you invite them.
- A single sign-on opens your workspace only, even for someone who also belongs to another one.
- Nagent staff accounts never sign in through a customer's provider.
Single sign-out
Single sign-out in the Single sign-on card is off by default. Turn it on and signing out here also signs the person out of your identity provider, then brings them back to the sign-in page.
- SAML: your provider's metadata needs a single logout address that takes the HTTP-Redirect binding. In your provider, set the Single logout URL to the one the card shows, and upload the signing certificate the card shows, which our logout requests are signed with. Set the person's Name ID to their email address. A provider that takes logout requests by POST only is not supported yet: signing out then ends the session here only.
- OIDC: your provider's settings need an
end_session_endpoint. Register the post-logout redirect URI the card shows. Some providers also ask the person to confirm. - A logout that your provider starts (signing out of Okta, say) does not end a session here. Sessions here end on their own rules, or when you remove the person.
Sign-in started from your provider
By default people start at the sign-in page. Turn on Allow sign-in started from your identity provider (SAML only) to let them start from the app's tile in Okta, Entra or another provider's portal. It is off by default because such a sign-in is not tied to a request from the person's browser: someone could push their own sign-in into a colleague's browser, or replay an answer they stole. So each one opens a page that asks the person to confirm the email address and workspace with a click before they are signed in. All the rules above still apply.
If two of your workspaces use the same provider, a sign-in started there cannot say which workspace it is for and is refused. Start from the sign-in page instead.
Providers that take sign-in requests by POST only
Most providers take a sign-in request by redirect. If your provider's metadata offers only the HTTP-POST binding, the sign-in page posts the request for you. Nothing else changes.
Require single sign-on and emergency admins
Under the connection, Require single sign-on for people at your verified domains stops those people using a password, an email code, a passkey, Google or the other logos, or a remembered browser. Anyone already signed in another way is asked to sign in again.
Emergency admins keep their own ways in, so a broken identity provider never locks your company out. Only Organisation admins can be emergency admins. Each should have a passkey and recovery codes; the card says when one is missing.
Requiring single sign-on is refused until:
- single sign-on is on, with a saved connection,
- at least one emergency admin has a passkey, and
- you are an emergency admin yourself, or you signed in by single sign-on in this session, which proves the connection works.
If you turn single sign-on off or remove the connection, it stops being required straight away and everyone can use the other ways in again.
Two-step
Count single sign-on as two-step is on by default: your provider runs its own second step, so people who come in by single sign-on are not asked for ours. Turn it off to ask for their Nagent two-step as well, under your workspace's two-step rule.
Directory sync
Single sign-on lets people in; directory sync (SCIM) lets your provider add them ahead of time, keep them up to date, take them out when they leave and set their role from its groups. See Directory sync.
Messages you may see
| Message | What it means | What to do |
|---|---|---|
| Single sign-on did not sign you in | The provider's answer, the sign-in or the address did not check out | Try again, or ask your workspace admin |
| This email already has an account outside this workspace | Single sign-on never joins an account from another workspace | Sign in the way you usually do, or ask to be invited |
| Your workspace has no open seat for you | Your plan has no seat for a new person | Ask your workspace admin |
| Your workspace signs in with Single sign-on. Use one of those. | Your workspace requires single sign-on for your address | Type your work email and continue to your provider |