Skip to content

Single sign-on and SCIM

With single sign-on, your team signs in to PurrCRM with your organisation’s identity provider, such as Okta, Microsoft Entra ID, Google Workspace or Keycloak. With SCIM, your provider can also add people to the workspace and remove them.

PurrCRM supports OpenID Connect. SAML is not available.

Only owners of the workspace set up single sign-on. Admins can see the settings, but not change them.

At your identity provider, create a web application that uses OpenID Connect. Keep the page open: you’ll need to give it PurrCRM‘s redirect address in step 3.

Note its issuer address, its client ID and, if it gives one, its client secret.

  1. Go to Settings › Workspace › Single sign-on.
  2. In Issuer, enter your provider’s address, such as https://acme.okta.com. PurrCRM reads everything else it needs from there.
  3. Fill in Client ID, and Client secret if your provider gave one.
  4. In Email domains, list your organisation’s domains, such as acme.com. People with an address at these domains sign in with your provider. Public mail services, such as gmail.com, can’t be used.
  5. Under People new to the workspace, choose what happens when someone signs in who isn’t in the workspace yet:
    • Nobody new: only people already in the workspace
    • Somebody new joins as a viewer
    • Somebody new joins as an agent
  6. Leave Require single sign-on off for now.
  7. Press Save.
Single sign-on, with the identity provider's details to fill inSingle sign-on, with the identity provider's details to fill in
Single sign-on, with the identity provider's details to fill in

3. Give your provider the redirect address

Section titled “3. Give your provider the redirect address”

After you save, the page shows a Redirect address. Copy it into your provider’s application, as its sign-in redirect address.

A domain only counts once you prove your organisation holds it. Each domain shows Verified or Not verified.

For each domain that is not verified:

  1. Copy its Record name and Record value.
  2. At the company that hosts your domain’s DNS, add a TXT record with that name and value.
  3. Wait a little: DNS changes can take a while to show.
  4. Press Check the record.

The first workspace to verify a domain takes it.

On the sign-in page:

  1. Type your work email.
  2. Press Sign in with SSO.
  3. Sign in at your provider. You come back signed in to PurrCRM.

Your provider must confirm that the email address is verified.

An account is never linked to your provider just because the email address matches. Each person links it once.

  • Agents and viewers press Sign in with SSO, and get an email with a link. They open it, and press Link and sign in. The link works once, for 30 minutes.
  • Owners, admins, and anyone who uses two-step sign-in link from their account:
    1. Sign in with your password.
    2. Go to Settings › You › Security.
    3. In the Single sign-on card, press Link single sign-on beside the workspace.
    4. Sign in at your provider. The workspace now shows Linked.

An account that belongs to more than one workspace keeps signing in with its password.

If you change the Issuer later, every link is undone, and each person links again.

When everyone can sign in with your provider, you can make it the only way in.

  1. Go to Settings › Workspace › Single sign-on.
  2. Turn on Require single sign-on.
  3. Press Save.

What changes:

  • Members can’t sign in with a password any more. Everyone except owners is signed out, and signs in again with Sign in with SSO.
  • Owners can still sign in with a password, so a problem at your provider never locks you out.
  • You can only invite addresses at your verified domains.
  • Someone becomes an admin only after they’ve linked single sign-on.

If someone couldn’t sign in once it’s required, PurrCRM refuses, and lists who. Each person needs an address at a verified domain, and must belong to this workspace only. Admins and people with two-step sign-in also need to link first.

With SCIM, your provider adds people to the workspace, changes their names, and removes them. It works with users, not groups. Set up single sign-on first.

  1. Go to Settings › Workspace › Single sign-on, to Provisioning (SCIM).
  2. Copy the SCIM address.
  3. Press Make a token, and copy the SCIM token. It is shown only once. Any token made before it stops working.
  4. In your provider’s provisioning settings, enter the SCIM address as the base address, and the token as the bearer token.

What your provider can do:

  • Add someone. Their address must be at a verified domain. They join with the role from People new to the workspace, or as a viewer when that is Nobody new. They sign in with single sign-on.
  • Turn someone off, and on again. Turning off signs them out everywhere.
  • Remove someone from the workspace.

Your provider never changes owners, or people who also belong to another workspace.

If your workspace turned an account off in PurrCRM, your provider can’t turn it back on. And an account your provider turned off is turned on again there, not in PurrCRM.

To stop SCIM, press Revoke. Your provider can’t add or remove people until you make a new token.

Press Turn off single sign-on, and confirm. Your team signs in with their passwords again, and the SCIM token stops working.

What they seeWhat to do
No workspace signs that address in with single sign-onThe address isn’t at a verified domain. Sign in with a password, or verify the domain.
Your account was here before single sign-onSign in with your password, then link single sign-on under Settings › You › Security.
Your workspace signs you in with single sign-onUse Sign in with SSO, not the password.
This account is switched offAsk a workspace admin.