Skip to content

SAML/OIDC single sign-on and SCIM

SAML/OIDC single sign-on and SCIM provisioning are available on the Scale and Enterprise plans. An org admin can connect one identity provider (IdP) per organization. Members then sign in through the IdP, their roles can follow their IdP groups, and SCIM can create and remove members automatically. Personal accounts can’t use SSO. Only admins can see or change these settings.

This is separate from the Google and GitHub sign-in described in Security & access.

Open Account Settings and find the Single sign-on section. On other plans the section shows an Upgrade to Scale button instead of the setup form. Google and GitHub sign-in, email and password, and MFA work on every plan.

  1. Choose a protocol, SAML 2.0 or OpenID Connect (OIDC), and click Set up single sign-on.
  2. Copy the values Plutus shows into your IdP.
    • SAML: ACS URL, Entity ID (audience) and Metadata URL.
    • OIDC: Redirect URI.
  3. Enter your IdP’s details in Plutus.
    • SAML: the IdP entity ID, the IdP SSO URL and the signing certificate (PEM, or the base64 body your IdP shows).
    • OIDC: the issuer URL, client ID and client secret. The secret is stored encrypted and is never shown again.
  4. Set Groups claim name, the SAML attribute or ID-token claim that carries group names, and add Group to role mapping rows (IdP group name to admin, member or viewer).
  5. Set Status to Active and click Save connection. Members can sign in with SSO only while the connection is Active. Draft and Disabled connections don’t accept logins.

SAML requirements:

  • Configure a persistent or email-address NameID. A transient NameID is rejected.
  • Assertions must be signed, and sign-in must start from Plutus (SP-initiated). Sign-in started from the IdP isn’t supported.

OIDC requirements: the issuer must be an https address that doesn’t resolve to a private network address. The scope Plutus requests is fixed at openid email profile. If the ID token has email_verified: false, sign-in is refused. Some IdPs need a groups scope or claim configured before the token carries groups.

SSO applies to users whose email is on a verified domain. Under Domains:

  1. Add a domain, for example example.com. Free-mail domains such as gmail.com are refused.
  2. Publish the TXT record Plutus shows: name _plutus-sso.<domain>, value plutus-sso-verification=<token>.
  3. Click verify. If the record isn’t found yet, wait a few minutes for DNS and try again.

A domain can be verified by only one organization. On the login page, entering an email on a verified domain with an Active connection replaces the password field with Continue with SSO.

A user can sign in through SSO only while their email is on a verified domain of the connection. Removing a domain deletes the connection’s linked identities for users on that domain. Those users sign in again only through another verified domain, by email match. A second IdP subject asserting the same email as a user who already has an identity on the connection is refused. Plutus doesn’t link it to that user.

A user’s role is the highest role mapped to any of their IdP groups. Group names match exactly, including case. If none of their groups is mapped, the user gets the Default role, or is refused if Deny sign-in when none of a user’s groups is mapped is on.

Where roles come from chooses what updates an existing member’s role:

  • SSO sign-in (group mapping), the default. The role is recalculated at each sign-in. Changes to the mappings apply the next time each member signs in.
  • SCIM group pushes. The role is recalculated when your IdP pushes group changes. Signing in doesn’t change an existing member’s role.

Create members at first sign-in (just-in-time provisioning) adds a member the first time someone on a verified domain signs in. Turn it off when you use SCIM, so only users your IdP assigns are created.

Plutus never removes or demotes the last admin of an account through SSO or SCIM.

Under Enforcement, Require single sign-on stops members with an email on a verified domain from signing in with a password or with Google or GitHub. Staff of Plutus are exempt. Plutus accepts the setting only when:

  • the connection is Active,
  • at least one domain is verified, and
  • an admin has completed an SSO sign-in, so a broken IdP configuration can’t lock the org out.

Changing the IdP settings or client secret, or moving the connection out of Active, turns enforcement off. Removing the last verified domain while enforcement is on is refused. Under enforcement, your IdP is responsible for multi-factor authentication, and an SSO sign-in doesn’t ask for a Plutus MFA code.

Under SCIM provisioning, copy the SCIM base URL (/api/scim/v2 on the Plutus console host) and generate a token. The token starts with plu_scim_, is shown once, and can be revoked in Account Settings. A connection can have up to 10 active tokens. Give the base URL and token to your IdP as a SCIM 2.0 bearer-token connection.

  • Creating users and groups, reactivating users, changing user attributes and adding group members need the Scale or Enterprise plan. Without it, those requests return a SCIM 403.
  • Removing access always works, on every plan: DELETE, active: false and removing group members take full effect, and a valid SCIM token still authenticates.
  • Users and Groups are supported, including PATCH. Bulk operations, sorting, password changes and ETags aren’t.
  • A user’s email must be on a verified domain.
  • Deactivating or deleting a user in the IdP removes their membership. The user’s SCIM record stays as inactive, so they can’t sign in again or be re-created at login. GET on a deleted user returns active: false.
  • Removing a member by hand in Plutus also marks their SCIM record inactive. To remove a SCIM-managed user durably, unassign them in the IdP. Some IdPs re-send active: true after a manual removal.
  • A group holds up to 10,000 members.
  • Deactivating the last admin is refused.
  • Removing a member revokes the API keys they created.

SSO sign-ins, SCIM changes and the member changes they cause appear in the account activity log.

An account that moves below Scale keeps its connection. Members still sign in through it and enforcement stays on. Its settings are locked: you can turn enforcement off, revoke SCIM tokens or remove the connection, and you need Scale to change anything else. SCIM provisioning pauses, while removals from the IdP keep applying. Tokens, users and groups are kept, so upgrading again resumes provisioning.

Remove single sign-on deletes the connection, its domains, role mappings and SCIM tokens. Members keep their accounts. Members who were created through SSO have no password and need a password reset to sign in.