SCIM con OktaDepende de cómo esté configurado IvyRequiere un plan con SCIM
This guide connects an Okta org to Ivy so that Okta creates, updates and deactivates people in Ivy and pushes groups that you map to spaces. Read SCIM provisioning first for how Ivy treats what Okta sends.
You need:
- an Ivy organisation on the Enterprise plan, and an owner or admin in it;
- an Okta administrator who can create app integrations.
1. In Ivy: turn SCIM on and create a token
- Open Settings → SCIM and turn SCIM on.
- Copy the base URL:
https://<your Ivy host>/api/scim/v2/organisations/<organisation id>. - Create a token named, for example, “Okta”, and copy it. It’s shown only once.
2. In Okta: create the app integration
Provisioning is configured on an app integration. If you already have one for signing in to Ivy with single sign-on, add provisioning to it; otherwise create one:
- In the Okta Admin Console, go to Applications → Applications and select Create App Integration.
- Choose SAML 2.0 or OIDC - OpenID Connect, whichever you use for signing in to Ivy, and finish the wizard.
- On the app’s General tab, under App Settings, select Edit, set Provisioning to SCIM and save. A Provisioning tab appears.
Okta’s catalogue app SCIM 2.0 Test App (Header Auth) works too, if you want provisioning without single sign-on. Its labels differ slightly: on its Provisioning tab, select Configure API Integration, check Enable API integration, enter the base URL and the token (without Bearer), select Test API Credentials and save. Then continue with step 4.
3. Connect Okta to Ivy
On the Provisioning tab, under Settings → Integration, select Edit and fill in:
| Field | Value |
|---|---|
| SCIM connector base URL | the base URL from Ivy |
| Unique identifier field for users | userName |
| Supported provisioning actions | Import New Users and Profile Updates, Push New Users, Push Profile Updates, Push Groups |
| Authentication Mode | HTTP Header |
| Authorization | the token from Ivy. If the field asks for the whole header value, enter Bearer <token> |
Select Test Connector Configuration. Okta reads Ivy’s ServiceProviderConfig and lists the actions it can use; close the dialog and Save.
4. Choose what Okta sends to Ivy
On the Provisioning tab, under Settings → To App, select Edit and enable:
- Create Users
- Update User Attributes
- Deactivate Users
Leave Sync Password off: people sign in through your identity provider, and Ivy stores no passwords. Save.
Attribute mappings
Further down the same page, check the attribute mappings to the app:
| Ivy (SCIM) attribute | Okta source |
|---|---|
userName |
the app’s username, set by Application username format on the Sign On tab. Choose Okta username or Email |
name.givenName |
user.firstName |
name.familyName |
user.lastName |
emails (work) |
user.email |
displayName |
user.displayName (optional; otherwise Ivy uses the given and family name) |
externalId |
set by Okta to the Okta user ID; no mapping needed |
The Okta user ID is the sub claim of the ID tokens Okta issues, so a self-hosted Ivy that trusts Okta directly links each person at their first sign-in (see First sign-in).
Other attributes Okta maps by default, such as phone numbers or addresses, are ignored by Ivy, so you can leave or remove them.
5. Push groups
Assigning a group on the Assignments tab only decides who is provisioned. To bring a group into Ivy so you can map it to spaces, push it:
- On the app’s Push Groups tab, select Push Groups → Find groups by name.
- Choose the group, keep Push group memberships immediately checked, and save.
Okta first looks the group up by displayName and creates it in Ivy if it’s new. Nested groups aren’t supported: push each group whose members need access.
Then, in Ivy, open Settings → SCIM, find the group under group mappings and choose the spaces and roles it grants. See Groups and mappings.
6. Test run
- In Okta, assign one test person to the app on the Assignments tab.
- In Ivy, check that they appear in the member list with a “SCIM” badge, with the right name and email address. The SCIM page’s recent activity shows the
createrequest. - Push a group that contains them, and map it to a space in Ivy. They become a member of that space with the role you chose.
- Unassign them from the app in Okta. Okta deactivates them: in Ivy their status changes to deactivated with a “Deprovisioned by SCIM” badge, and any session they had ends at once.
When this works, assign the people and groups who should use Ivy.
Troubleshooting
- Test Connector Configuration fails with 401: the token is mistyped, expired or revoked, or the
Bearerprefix is missing or doubled. - 403: SCIM is turned off in Ivy, the organisation isn’t on Enterprise, or the base URL names a different organisation from the token’s.
- A user fails with 409
uniqueness: another SCIM user in the organisation already has thatuserName. - A user fails with 409
mutability: the person is an owner in Ivy, and SCIM never changes owners. - Okta’s Dashboard → Tasks and the app’s provisioning errors show the SCIM
detailmessage for each failed request.