- Qubitara Central
- Integrations
- Add a custom SCIM outbound application
Add a custom SCIM outbound application
Let Qubitara Central create, update and deactivate accounts in an application that exposes a SCIM 2.0 endpoint. This is the outbound pattern: Central is the source of truth and pushes changes to the application. It applies to any SaaS product with SCIM provisioning and to an in-house application that implements the SCIM 2.0 Users and Groups resources.
Before you start#
A role that can manage applications, under Access → Applications.
Administrator access to the application's provisioning settings, or the developer who owns its SCIM endpoint.
The application already added in Central, either with single sign-on configured (Add a custom SAML application) or as SCIM Outbound only.
A test group in Central, for example
Custom App Users, with one test user.
Step 1: Obtain the application's SCIM base URL and bearer token#
In the application's admin console, open its provisioning, directory sync or SCIM settings and enable SCIM provisioning.
Copy the SCIM base URL. It usually ends in
/scim/v2and must answerGET /ServiceProviderConfig.Generate a bearer token (some vendors call it an API key or SCIM secret) and copy it immediately. Most applications show it once.
Expected result: you hold a base URL such as https://<application>/scim/v2 and a token.
Step 2: Enter the endpoint in Qubitara Central#
Go to Access → Applications, open the application, and open the Provisioning tab.
Click Configure SCIM →.
If the connection type is still SSO Only, change it to SSO + SCIM Outbound, or to SCIM Outbound for an application without single sign-on.
Enter:
Copy this value from the application | Paste it into Central (Provisioning → Configure SCIM) |
|---|---|
SCIM base URL, for example | Target SCIM Base URL |
Bearer token | Bearer token |
Click Test Connection.
Expected result: Connected, HTTP 200. A 401 means the token is wrong; a 404 means the base URL is wrong; see SCIM sync errors.
Step 3: Choose what to sync#
Set Sync mode to Realtime so that each change is pushed within seconds, or Scheduled to batch changes at an interval.
Leave Sync users on.
Turn Sync groups on if the application uses groups for roles or permissions. Each group on the Access Policy is then pushed as a SCIM Group with its members.
Choose the deprovisioning action: deactivate (the default, sends
active=false) or delete, where the application supports both.Review the attribute mapping. The defaults send
userName,name.givenName,name.familyName,displayName,emailsandactive; add enterprise extension attributes such asdepartmentif the application uses them. See SCIM attribute mapping.Save.
Expected result: the Provisioning tab shows Status: Configured, Direction: Outbound, and the target endpoint marked connected.
Step 4: Assign a group and run the first sync#
Open the Access Policy tab, click Manage Access, choose Group-based, add
Custom App Users, and save. Everyone in the application who is not in an assigned group will be deactivated on the first sync, so add every existing user of the application to an assigned group first.Return to the Provisioning tab and click Sync Now.
Expected result: the run finishes with status Completed, and the test user, plus the group if group sync is on, exists in the application.
Step 5: Read the Sync Logs#
Open the Sync Logs tab.
Each run lists one row per request: the operation (
create,update,deactivate,group add,group remove), the target user or group, the HTTP status, and the response body from the application.Filter to failed rows if the run ended as Completed with errors, read each response body, correct the record or the mapping, and click Sync Now again.
Expected result: every row shows 200 or 201, and the counts on the Provisioning tab match the users and groups in the application.
Step 6: Verify deprovisioning#
Remove the test user from
Custom App Usersin Central.Wait for the Realtime push or click Sync Now.
Expected result: the Sync Logs show a deactivate row with status 200, and the application shows the account as inactive. Add the user back to the group and confirm the account is reactivated.
Rotating the token#
In the application, generate a new bearer token. The old one stops working immediately on most applications.
In Central, open the Provisioning tab, click Configure SCIM →, paste the new token, and click Test Connection.
Save, then click Sync Now to confirm provisioning has resumed.
Rotate at least once a year, and whenever someone who knew the token leaves. See Certificate and secret rotation.
Related#
How SCIM works in Central: what a sync cycle sends and what deprovisioning means.
SCIM 2.0 provisioning: the protocol reference with sample requests.
SCIM sync errors: the failure catalog.
Supported integrations: which catalog applications support SCIM and on which plan.