Provision and deprovision people with SCIM

Single sign-on decides how people sign in. It doesn't decide who is in the organization. Someone who left can't sign in through the IdP anymore, but their membership, their roles and their API tokens are still there. A CI token created by a former employee keeps working. SCIM closes that gap: the identity provider tells Requestarium who joined, who changed and who left.

Before you start

Connect single sign-on and verify at least one email domain first; SCIM only creates accounts on verified domains. See Single sign-on for your API client.

Generate the token

In Settings ▸ Single sign-on, step Provision people automatically (SCIM):

  1. Copy the Base URL.
  2. Press Generate token. The token (rqscim_…) is shown once; only its hash is stored. Generating a new one revokes the old one at once.

Only organization admins signed in to the app can do this. API tokens can't.

Connect the identity provider

Okta. App ▸ Provisioning ▸ Integration: SCIM connector base URL = the Base URL, unique identifier userName, actions Push New Users, Push Profile Updates, Push Groups, authentication HTTP Header with the token. Then enable Create, Update and Deactivate Users.

Microsoft Entra ID. Enterprise application ▸ Provisioning ▸ Automatic: Tenant URL = the Base URL, Secret Token = the token, Test Connection. Map userPrincipalName (or mail) to userName.

Then assign people and groups to the app in the IdP.

What each change does

In the IdPIn Requestarium
Assign a personTheir account is found by email or created, and added to the organization with the SSO default role
Change name or departmentProfile updated. A department that matches a branch name sets their home branch
Deactivate (active: false)Removed from the organization with their roles and group memberships; their API tokens for the organization are revoked; signed-in sessions end within 15 minutes
ReactivateAdded back
Push a groupA group with source scim in Settings ▸ Groups, read-only there, which can be shared with like any group

The account itself is never deleted, because a person may belong to other organizations.

Safety rules

  • Verified domains only. A SCIM token can't pull in accounts from another company's domain.
  • No email changes. A changed email is refused; deprovision and provision again. Changing an existing account's email is an account-takeover risk.
  • No lock-out. The last admin can't be deactivated or deleted.
  • No privilege from the IdP. People get the SSO connection's default role, never admin.
  • The token opens SCIM only. It is not a session and opens no other API.

If the plan lapses, the token still works for reads and removals, so leavers keep being removed. Creating and reactivating people waits until the plan is back.

Assign roles to groups

Groups from the IdP don't carry roles by themselves. Give the synced group access to workspaces, or assign it a custom role, and everyone the IdP puts in the group gets it. See Who can do what in a shared API workspace.