SCIM provisioning
ToolFence Gate can provision org members via SCIM so Okta, Entra, and other IdPs can create and deactivate approvers.
Hosted: Business plan required (SSO/SCIM entitlement). Self-host leaves the gate open for local try.
Setup (Okta / Entra)
- Sign in as an org admin or owner on a Business workspace.
- Open Team → SSO & directory sync → Issue SCIM token (shown once — copy it).
- In the IdP (example: Okta → Applications → Provisioning → SCIM 2.0):
- SCIM connector base URL:
https://app.toolfence.ai/scim/v2(orhttps://<your-host>/scim/v2) - Unique identifier field:userName- Authentication: HTTP Header ·Authorization: Bearer <token> - Push a test user, then confirm they appear under Team → Members.
Smoke test
export GATE_URL=https://app.toolfence.ai # or http://127.0.0.1:8000
export SCIM_TOKEN=tf_scim_... # from Team
./scripts/scim_smoke.sh
Creates a user, filters by userName, then deactivates. Safe to run repeatedly (unique username each run).
Endpoints
| Method | Path | Notes |
|---|---|---|
| GET | /scim/v2/ServiceProviderConfig |
Capabilities |
| GET | /scim/v2/Schemas |
User schema |
| GET | /scim/v2/Users |
List (filter by userName supported) |
| POST | /scim/v2/Users |
Create and add org member |
| GET/PUT/PATCH/DELETE | /scim/v2/Users/{id} |
Read / replace / patch / remove |
Auth: Authorization: Bearer <scim-token> (org-scoped). Rotate from Team.
Behavior
userNamemaps to the local username.active: falseor DELETE removes org membership.- Email and external IDs are stored on the SCIM identity record.
Operator SSO (login) remains separate — see OIDC. Per-org OIDC issuer in Team is a roadmap note only.