- Qubitara Central
- Concepts
- How SCIM works in Central
How SCIM works in Central
SCIM 2.0 (System for Cross-domain Identity Management) is the protocol Qubitara Central uses to keep accounts in step between systems. Where SAML acts at sign-in, SCIM acts whenever the directory changes: someone joins, moves team or leaves. Central supports both directions of the protocol, and this page explains what each one does and what a sync cycle actually sends.
The outbound push model#
With SCIM Outbound, Central is the source of truth and the application exposes a SCIM 2.0 endpoint. Central authenticates to it with a bearer token that the application issued, and pushes changes as standard SCIM requests.
The application's Access Policy decides the scope. Members of the assigned groups are provisioned; people outside them are treated as unassigned and deactivated on the next sync. With Sync mode: Realtime, each change is sent within seconds of being made; with a scheduled mode, changes are batched into the next run. Everything sent appears on the application's Sync Logs tab.
The inbound pull model#
With SCIM Inbound, or with an Enterprise Provider such as Microsoft 365, another system is the source of truth and Central's directory follows it. Two mechanisms exist:
Push into Central. The source system calls Central's SCIM endpoint, shown on the connection's Endpoints tab, with a bearer token issued by Central. Central creates and updates users and groups as the requests arrive.
Pull by Central. Central reads the source system's API on a schedule or when you click Run Sync. Microsoft 365 works this way over the Microsoft Graph API, using the tenant ID, client ID and client secret from an Entra app registration.
Users and groups that arrive inbound are owned by the source system. Edits made to them in Central are overwritten on the next sync.
What one sync cycle does#
A sync cycle, whether triggered by Sync Now, Run Sync or the schedule, walks the scope defined by the Access Policy or the group filter and reconciles it against the target:
Reads the current state of the target's users and groups over SCIM (or the source's over Graph).
Creates any person or group in scope that does not yet exist.
Updates attributes that differ, using the mapping on the Attributes tab or the SCIM attribute defaults.
Updates group membership, adding and removing members so the target matches Central.
Deactivates any account the target holds that is no longer in scope.
Records one row per request on the Sync Logs tab with the HTTP status and response body, and sets the run status to Completed or Completed with errors.
A first sync against a target that already has accounts matches them by userName (the email address) and links them rather than creating duplicates. A target account with a different email is created afresh, which is the usual cause of an unexpected duplicate.
Deprovisioning semantics#
Deprovisioning is what happens to an account when its person is no longer in scope: removed from every assigned group, suspended in Central, or deleted. Central sends one of two things, depending on what the target supports:
Action sent | Effect in the application | When Central uses it |
|---|---|---|
| The account is disabled but kept, with its data and history. It can be reactivated by adding the person back to an assigned group. | The default for applications that support the |
| The account is removed. | Only where the application does not support deactivation. |
Deprovisioning does not revoke sessions the person already holds in the application; the application decides when an existing session ends. For a suspected compromise, also revoke Central sessions under Operations → Sessions and rely on the application's own session limits.
Related#
Inbound vs outbound provisioning: the two directions compared on real examples.
Add a custom SCIM outbound application and Add a custom SCIM inbound application: the procedures.
SCIM attribute mapping: which attributes are sent.
SCIM sync errors: reading the Sync Logs tab when a cycle fails.