SCIM provisioning explained for SaaS founders

Doha I. · Published

SCIM provisioning explained for SaaS founders

SCIM 2.0 (RFC 7643 and 7644) is a REST standard that lets a customer's identity system create, update and deactivate user accounts and groups in your SaaS automatically. Enterprise customers ask for it so that people get access on their first day and lose it the day they leave, without anyone doing it by hand.

Single sign-on answers "how does this person log in?". SCIM answers the next question every IT team asks: "who creates their account, and who removes it when they leave?"

Why customers ask for it

  • Onboarding: new employees have accounts in every tool on day one.
  • Offboarding: when someone leaves, access is removed everywhere at once. This is the security reason, and it often appears in procurement checklists.
  • Groups: team membership in the customer's directory drives roles or permissions in your product.

How it works

The customer's identity system (the SCIM client) calls your SCIM server over HTTPS with a bearer token:

Operation Request
Create a user POST /Users
Read users GET /Users?filter=userName eq "[email protected]"
Update a user PUT or PATCH /Users/{id}
Deactivate PATCH /Users/{id} with active: false
Manage groups POST, PATCH /Groups, members in the payload

Payloads use the core schemas (urn:ietf:params:scim:schemas:core:2.0:User and ...:Group) with the application/scim+json media type.

What to check before you promise SCIM

  1. Which operations the customer's identity system uses. Some send PATCH, others PUT; some rely on filters, bulk or sorting.
  2. Deactivate or delete? Most expect accounts to be deactivated (active: false), not destroyed.
  3. Group mapping. Decide how directory groups map to roles in your app.
  4. Quotas and billing. Provisioned users count toward your plan; agree what happens at the limit.
  5. Tenant scoping. Each customer's token must only reach their own users.

SCIM in SyAuth

SyAuth exposes workspace-scoped SCIM 2.0 Users and Groups endpoints, authenticated with a SCIM token that is stored as a hash and shown once, on every plan (the plan's user and group quotas apply). It accepts application/scim+json and application/json. It does not support password provisioning, bulk operations, sorting, ETags or arbitrary custom schemas; check that list against your customer's identity system. Setup is in the SCIM guide, and SyAuth's SAML identity provider covers the sign-in side. Definitions: SCIM, SSO.

Free for up to 30,000 registered users

Start on the free plan and upgrade when your project grows.

SCIM provisioning explained for SaaS founders | SyAuth