Provision members with SCIM

Okta creates, updates and deactivates EntiPath members, and pushes groups that set their roles.

On this page

Before you begin

  • An Okta administrator account.
  • An EntiPath owner or admin account.
  • Single sign-on set up and tested first.
  • The Enterprise plan.

It takes about 15 minutes.

With SCIM, Okta creates EntiPath members when you assign them the app, updates their names, and deactivates them when you unassign them or they leave. Groups you push from Okta can set their roles.

Important. Members SCIM creates sign in only through single sign-on, so set up and test single sign-on first, on the same Okta app if you can. Set its Directory ID attribute (SAML) or claim (OIDC) to the id Okta sends as externalId, so a sign-in finds the member SCIM created.
1

Create the connection in EntiPath

In EntiPath

  1. Go to Settings › SCIM provisioning and click Add connection.
  2. Keep the name (“Okta provisioning”), and under Pair with SSO connection choose your single sign-on connection.
  3. Click Create.EntiPath shows the SCIM base URL and a bearer token.
  4. Copy the SCIM base URL and the Bearer token, then click Done.
EntiPath showing a new provisioning connection’s SCIM base URL and bearer token
Note. The token is shown only now; EntiPath keeps just its first characters. From the moment a connection is active, roles from single sign-on group claims stop counting: roles come from the groups SCIM pushes.
2

Turn on provisioning in Okta

In the Okta Admin Console, on the EntiPath app people sign in with

  1. On the General tab, under App Settings, click Edit.
  2. Set Provisioning to SCIM and click Save. Older consoles show an Enable SCIM provisioning box instead.
  3. On the Provisioning tab, under Integration, click Edit, and set these:
    SCIM connector base URL
    The SCIM base URL from EntiPath
    Unique identifier field for users
    userName
    Supported provisioning actions
    Push New Users, Push Profile Updates and Push Groups
    Authentication Mode
    HTTP Header, with the bearer token from EntiPath
  4. Click Test Connector Configuration, then Save.
  5. Under To App, click Edit, turn on Create Users, Update User Attributes and Deactivate Users, and click Save.
  6. On the Assignments tab, assign the people (or groups of people) who should be EntiPath members.
Before you go on, Okta shows0 of 5
Note. EntiPath reads the user name, email (the primary one, else the work email, else the first listed, else an email-shaped user name), first and last name, display name, externalId and whether the user is active. It refuses roles, entitlements and certificates sent over SCIM, and ignores passwords.
3

Hand over existing members

In EntiPath

  1. Go to Settings › Members.
  2. On each existing member’s row, open the menu and choose Release to SCIM.The row shows Released to SCIM. Okta takes them over the next time it pushes them.
A member’s menu in EntiPath’s Members settings, with Release to SCIM
Note. People who are already members aren’t taken over on their own, so a password account can’t be captured by email. Release to SCIM is shown for active members other than yourself. Only an owner can release an owner, and a recovery admin must stop being one first.
Important. Once Okta takes them over, they sign in only through single sign-on, like the members SCIM creates: their email and password sign-in ends, and so do their password sessions in this workspace. A role set by hand stays, and so does their history.
4

Give roles with Okta groups

In Okta, then in EntiPath

Make a group in Okta for each EntiPath role you hand out, push it to EntiPath, and map it to the role. From then on, adding someone to the group in Okta gives them the role in EntiPath, and removing them takes it away.

In Okta: make the groups

  1. Go to Directory › Groups and click Add group.
  2. Name it after the role, such as EntiPath Admins or EntiPath Approvers, and save it.
  3. Open the group and add the people who should have that role.
  4. On the EntiPath app’s Assignments tab, click Assign › Assign to Groups and assign the group.Okta provisions the group’s people to EntiPath, if it hasn’t already.

In Okta: push them to EntiPath

  1. On the EntiPath app’s Push Groups tab, click Push Groups › Find groups by name.
  2. Find the group and click Save.The group is listed with Push Status Active.
  3. Do the same for each group.
The EntiPath app’s Push Groups tab in Okta, with EntiPath Admins and EntiPath Approvers pushed and Active
Important. Assign a group to the app before you push it. A pushed group can only hold people Okta has provisioned to EntiPath; otherwise EntiPath refuses it with “Unknown member(s)”.

In EntiPath: map each group to a role

  1. Go to Settings › SCIM provisioning, to Group-to-role mapping.
  2. Choose Source SCIM group.
  3. Choose the pushed group under Group, and its role under Role.
  4. Click Add.Everyone in the group has the role at once. Anyone whose role changes is signed out, and has the new role when they sign back in.
The Group-to-role mapping section in EntiPath, with Source, Group, Role and Add
  • Each member gets the highest of their own role and their groups’ roles. No group makes someone an Owner, and only an owner can map a group to a role that can approve plans.
  • Changes in Okta apply as soon as Okta pushes them: someone added to a pushed group gets its role, and someone removed from it loses it. To stop a group giving a role, remove its mapping in EntiPath, or have Okta delete the group from EntiPath when you unlink it.
  • Members who match no mapping get the Role for people who match no mapping, under Settings › Sessions and policy.
  • Pushed groups can also be approvers in approval rules.

Day to day

When someone leaves

Unassigning someone in Okta, or deactivating them, deactivates their membership and ends their sessions at once. Their history stays in the audit log.

Tokens

Rotate credential issues a new token; the old one keeps working for 24 hours, so update Okta before then. Revoke stops a token at once.

Disable the connection

Disable revokes every token. Members stay, but their roles are worked out again: with no active connection, roles from single sign-on groups count once more, and anyone whose role changes is signed out. Re-enable issues a new token to put into Okta.

Provisioning errors

Provisioning errors lists the last rejected requests, newest first. Requests refused for a wrong token or for being too frequent aren’t listed; Okta shows those on its side.

Troubleshooting

Find the message EntiPath showed. Each one says why it happens and how to fix it.

“Invalid bearer token” or “Missing bearer token” (401)

Okta isn’t sending a token EntiPath knows. A token rotated more than 24 hours ago, or revoked, no longer works, and a disabled connection refuses every token.

To fix it
  1. If the connection is disabled, re-enable it first.
  2. If the token was rotated more than 24 hours ago or revoked, click Rotate credential.
  3. Paste the current bearer token into the app’s Provisioning settings in Okta (Authentication Mode: HTTP Header).
“Use your workspace SCIM base URL” (404)

Okta is calling the wrong address.

To fix it
  1. Use the SCIM base URL exactly as EntiPath shows it, including your workspace’s address.
“An existing EntiPath member uses this email …” (409)

Someone with that email is already a member.

To fix it
  1. Choose Release to SCIM on their row in Settings › Members.
  2. Push them from Okta again.
“User … already exists” or “A user with externalId … already exists” (409)

Okta tried to create someone EntiPath already has under that user name or externalId.

To fix it
  1. Re-push the user from Okta, so it updates them instead.
“Attribute … is not supported: EntiPath does not accept role grants or certificates over SCIM”

Okta is sending roles, entitlements or certificates. Roles come from groups.

To fix it
  1. Remove those attribute mappings from the app’s To App settings in Okta.
“A valid email address is required …” or “userName is required”

Each user needs an email, or a user name that is one.

To fix it
  1. Check the app’s userName mapping in Okta.
“Group … already exists” (409)

A pushed group’s name must be unique.

To fix it
  1. Rename one of the groups in Okta, or link the push to the existing group.
“Unknown member(s): …”

A pushed group includes people this connection didn’t create.

To fix it
  1. Assign them to the app in Okta first, so they’re provisioned.
  2. Push the group again.
“Too many provisioning requests; retry later” (429)

Okta sent too many requests at once. Nothing to change: Okta retries on its own.

“No working credential”

Every token has expired or been revoked.

To fix it
  1. Click Rotate credential.
  2. Put the new token into Okta.
“SCIM provisioning is available on the Enterprise plan”

SCIM provisioning comes with the Enterprise plan. Email hello@entipath.com to talk about it.

Pushed groups don’t change anyone’s role

The mapping, the push or the person’s groups don’t line up. A role set by hand that’s higher wins.

To fix it
  1. Check the group is mapped with Source SCIM group, not SSO group claim.
  2. Check it was pushed from Okta.
  3. Check the person is in it there.

Still stuck? Email support@entipath.com with your workspace address and the message EntiPath showed.