SCIM Provisioning
Provision users and their managers into Claro from Entra ID, Okta or another SCIM 2.0 identity provider.
SCIM Provisioning Setup Guide
This guide is for IT administrators connecting an identity provider (Microsoft Entra ID, Okta, or another SCIM 2.0 client) to Claro so that users, groups and each user's manager stay in sync automatically. No coding knowledge is required.
If your users come from an on-premise LDAP or Active Directory server instead, see LDAP Directory Sync.
What This Does
SCIM lets your identity provider create, update and deactivate Claro users for you. When someone joins, changes name or leaves, your identity provider tells Claro, and nobody has to edit users by hand.
Claro also reads each user's manager from SCIM. Claro uses the manager for manager-facing views, such as the manager dashboard and its reports. The manager is optional: provisioning never fails because of it.
Before You Start
You will need:
- A Claro account with the Tenant Admin role
- Admin access to your identity provider (Entra ID Application Administrator, or Okta Super Admin / App Admin)
Step 1: Copy the SCIM Endpoint and Generate a Token
- Log in to Claro at your organization's URL
- Go to Settings > SCIM Provisioning
- Copy the SCIM Endpoint URL
- Under Bearer Tokens, enter a label (for example
Entra ID Production) and click Generate New Token - Copy the token straight away. Claro shows it only once. If you lose it, revoke it and generate a new one
Step 2: Connect Your Identity Provider
In your identity provider, create a SCIM provisioning app and paste in:
- Tenant URL / Base URL: the SCIM Endpoint URL from Step 1
- Secret Token / API Token: the bearer token from Step 1
Then test the connection and turn provisioning on.
Claro creates each user with the primary email your identity provider sends (or the username, when no email is sent). That email is also how Claro finds a manager in Okta, so keep it in mind for Step 3.
Step 3: Map the Manager
Claro reads the manager from the standard SCIM enterprise extension attribute:
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:managerThe value Claro receives must be one of these two things, or the manager will not be found:
- The Claro user id of the manager (what Entra ID sends automatically), or
- The manager's primary email, exactly as Claro has it for that manager (upper and lower case do not matter)
Anything else, such as an employee number, an Okta user id, or a login name that is not the primary email, is ignored. The user is still provisioned; they just have no manager in Claro.
Microsoft Entra ID
No extra setup is needed. The default attribute mappings of an Entra ID SCIM app already send manager, and Entra ID sends the manager as the id Claro gave that manager when it was provisioned.
Make sure the managers themselves are in the app's provisioning scope (assigned users or groups). Entra ID can only send a manager that Claro already knows.
Okta
You must map the manager's primary email. Okta does not send a manager Claro can understand by default.
- In the Okta Admin Console, go to Directory > Profile Editor and open the profile of your Claro SCIM app
- If the app profile has no manager attribute yet, click Add Attribute and set:
- External name:
manager.value - External namespace:
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
- External name:
- Click Mappings, open the Okta User to Claro direction, and map an expression that returns the manager's primary email to that attribute, so that it is sent as:
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.value - Save the mappings and push the profiles (or wait for the next provisioning update)
Check the value you map before you roll it out. Okta's built-in managerId field often holds an Okta user id, an employee id or a login. Those do not resolve. A login only works when it is the same address as the manager's primary email.
Other identity providers
Send the manager's primary email in manager.value of the enterprise extension, as for Okta. A provider that sends Claro's own user id (as Entra ID does) also works.
How Manager Updates Behave
| What your identity provider does | What Claro does |
|---|---|
| Sends a manager Claro can find | Sets that person as the user's manager, replacing any previous one |
| Sends a manager who is not provisioned in Claro yet | Provisions or updates the user anyway and leaves the manager as it was. The manager is set the next time your identity provider sends it, once that manager exists in Claro |
| Sends a manager value that matches nobody (wrong id, wrong email) | Same as above: the user is provisioned, the manager is left as it was |
| Explicitly removes the manager, or sends an empty manager value | Clears the user's manager |
| Sends an update that does not mention the manager at all | Leaves the manager alone, including a manager an admin set by hand in Claro |
A few more details:
- A manager must be an active user in your Claro tenant. A deactivated user is never set as anyone's manager
- A user cannot be their own manager. Claro ignores that value
- Claro returns the manager on every user it sends back to your identity provider, so Entra ID can see the value is already set and does not re-send it every cycle
Troubleshooting
| Issue | Solution |
|---|---|
| Users are provisioned but nobody has a manager (Okta) | The manager mapping is missing or sends something other than the primary email. Recheck Step 3 and push the profiles again. |
| Some users have no manager | Their manager is probably not in the app's provisioning scope, or has not been provisioned yet. Assign the manager to the app; the manager is set when the identity provider next sends it. |
| A manager changed in the identity provider but not in Claro | The new manager is not provisioned in Claro yet, or the value does not match their primary email. Claro keeps the old manager until the new one can be found. |
| A manager I set by hand in Claro was replaced | Your identity provider sent a manager for that user, and it wins whenever it sends one. To keep hand-set values, turn off the manager mapping in your identity provider so its updates no longer mention the manager, then set the manager again in Claro. Do not just clear the manager in the identity provider while the mapping is on: that sends a remove, which clears the manager in Claro too. |
| Connection test fails | Check the endpoint URL has no extra characters and that the token has not been revoked. Generate a new token if in doubt. |
Revoking Access
To disconnect an identity provider, go to Settings > SCIM Provisioning and click Revoke next to its token. Any identity provider using that token loses access immediately.