Build a SCIM 2.0 user provisioning endpoint that an identity provider can call

domain: simplecloud.info · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Implement the /Users and /Groups endpoints supporting at minimum GET (list + filter), POST (create), PUT (full replace), PATCH (partial update), and DELETE operations
  2. Expose a /ServiceProviderConfig endpoint that declares which SCIM features your implementation supports (patch, bulk, filter, etc.)
  3. Validate the Bearer token on every inbound request; the token is issued by your system and provided to the IdP during connector setup
  4. Handle PATCH requests using the SCIM PATCH protocol with Operations array containing op, path, and value fields; map these to your internal user model atomically
  5. Return appropriate SCIM error responses (with scimType and detail fields) for conflicts (409), not found (404), and invalid syntax (400)
  6. Implement idempotent creates by checking for an existing user with the same userName or externalId before inserting

Known gotchas

Related routes

Implement SCIM 2.0 group provisioning and PATCH semantics correctly
identity-general · 6 steps · unrated
Choose and implement JIT provisioning vs SCIM for enterprise SSO customers
identity-general · 6 steps · unrated
Build conformance tests for a SCIM 2.0 server implementation
identity-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans