This guide explains how to set up Leapsome as the HR source for Okta. Once it's set up, Leapsome links your employees to their Okta users and keeps their profiles up to date. It can also create new Okta users and deactivate them when employees leave.
Leapsome connects through an API Services app that you create in your own Okta org. Leapsome generates a key for the connection. You add its public half to the app in Okta, and the private half never leaves Leapsome. There is no client secret to copy or store.
Contents
- Prerequisites
- Supported features
- Configuration steps
- Troubleshooting
- Replace the signing key
- Disconnect the integration
- Support
Prerequisites
In Okta
- A super admin. Only a super admin can grant API scopes and admin roles to an app.
In Leapsome
- A user with the Manage integrations permission.
Time
- About 15 minutes. Keep Leapsome open in a second tab, because you'll switch between Leapsome and the Okta Admin Console.
Supported features
Leapsome writes to Okta's Users API, so Leapsome is the source of truth for the attributes you map.
- Link existing users: Leapsome links each active employee to the Okta user whose username is their work email. If no username matches, it uses the Okta user whose primary email is their work email.
- Create users (optional): Leapsome creates an Okta user for active employees who don't have one yet. New users are created as Staged, so Okta sends no activation email.
- Update user attributes: changes to mapped attributes in Leapsome usually reach Okta within a few minutes. Leapsome only sends the attributes that changed.
- Deactivate users (optional): when you deactivate an employee in Leapsome, Leapsome deactivates their Okta user without sending an email. If the employee comes back, Leapsome reactivates the Okta user it deactivated, again without an email.
- Custom attribute mapping: you can map Leapsome's standard and custom attributes to Okta's standard and custom user attributes.
- Manager sync: the primary manager can be written to Okta's
managerId, for example for Okta Identity Governance approvals.
Restrictions and limitations
- The sync runs one way, from Leapsome to Okta. Edits to mapped attributes in Okta are overwritten on the next sync, and changes in Okta don't reach Leapsome.
- Leapsome writes each employee's work email to their Okta primary email. This includes Okta users that existed before you connected. Okta sends password reset emails to that address, so anyone who can change a work email in Leapsome can redirect that employee's Okta password reset. Limit who can edit work emails in Leapsome, or require a second factor for Okta password recovery.
- Leapsome sets the Okta username only for users it creates. It never changes the username of an Okta user it linked to.
- The Organization Administrator role can't update Super Administrators. Leapsome reports those users in the sync warnings and keeps syncing everyone else.
- Leapsome doesn't manage Okta groups. Use Okta group rules based on the attributes Leapsome writes, such as department or division.
- Leapsome never deletes users in Okta.
- You can't map compensation, payroll, equity, emergency contacts, relocation or diversity fields.
- Use either this integration or Okta's SCIM provisioning into Leapsome, not both. If both are on, deactivations that come from SCIM are not passed back to Okta.
- This integration only handles provisioning. Single sign-on to Leapsome is a separate integration and isn't covered in this guide.
Okta API scopes the app needs
| Scope | Used to |
|---|---|
okta.users.manage | Link, create, update, deactivate and reactivate users |
okta.schemas.read | Read your Okta user attributes, so you can pick them in the mapping |
Configuration steps
The steps follow the same order as the setup steps shown in Leapsome.
Step 1: Create the API Services app in Okta
- In the Okta Admin Console, go to Applications > Applications and select Create App Integration.
- Select API Services and select Next.
- Enter a name, for example "Leapsome provisioning", select Use Okta-generated client ID, and select Save.
Step 2: Generate a key in Leapsome
- In Leapsome, go to Settings > Integrations > HRIS, open the Outbound Provisioning tab, and select Okta.
- In the setup steps, select Generate key.
- Leapsome shows a Public key (JWK). Select Copy.
You can come back to this screen at any time. Leapsome keeps showing the same key until you disconnect the integration.
Step 3: Add the key to the app in Okta
- On the API Services app's General tab, under Client Credentials, select Edit and set Client authentication to Public key / Private key.
- Under Public keys, keep Save keys in Okta, select Add key, paste the key you copied in step 2, and save it.
- Select Save under Client Credentials.
- Under General Settings on the same tab, select Edit, clear Require Demonstrating Proof of Possession (DPoP) header in token requests, and select Save.
Note: Okta won't save Public key / Private key until a key has been added. Okta also turns on DPoP for new API Services apps by default. If you leave it on, the connection fails with a message about DPoP.
Step 4: Grant the API scopes
- On the API Services app, open the Okta API Scopes tab.
- Select Grant next to
okta.users.manageandokta.schemas.read.
Step 5: Assign the admin role
Okta only lets an API Services app manage users if the app also has an admin role.
- On the API Services app, open the Admin roles tab.
- Select Edit assignments, select Organization Administrator, and save.
Step 6: Connect Okta in Leapsome
- Back in Leapsome, fill in:
- Okta org URL: your Okta base URL, for example
https://acme.okta.com. Use the URL withoutadmin. If your Admin Console address ishttps://acme-admin.okta.com, enterhttps://acme.okta.com. Custom domains work, and the URL must start withhttps://. - Client ID: the client ID shown under Client Credentials on the API Services app.
- Okta org URL: your Okta base URL, for example
- Select Connect Okta.
Leapsome checks that it can sign in to Okta, that the app has both scopes, and that it can read your users and user attributes. Nothing is saved until all checks pass. If a check fails, Leapsome shows what to fix (see Troubleshooting).
Step 7: Choose what to sync
Activation and deactivation
Both settings are off by default.
- Automatically create employees in Okta: Leapsome always links active employees to existing Okta users by work email. When this setting is on, Leapsome also creates a Staged Okta user for employees without a match. Activate them in Okta when they should get access.
- Propagate deactivation to Okta: when on, deactivating an employee in Leapsome deactivates their linked Okta user. If Leapsome deactivated the user and the employee is reactivated, Leapsome reactivates the Okta user without sending an email. Leapsome never reactivates users that someone deactivated in Okta.
Best practices
- Run a first sync with Automatically create employees in Okta off. Check the sync warnings for employees without a match, fix their work emails where needed, then turn the setting on.
- Before you turn on Propagate deactivation to Okta, check that the right Okta users are linked.
Attribute mapping
The table under Map attributes controls which Leapsome attribute is written to which Okta attribute. First name, last name and primary email are mapped for you and can't be removed. Use New attribute mapping to add rows. Each Leapsome attribute and each Okta attribute can be used once.
- Leapsome attributes: the standard attributes (names, contact details, address, employment data, start and end dates, level, legal entity, work location, and org structure assignments such as departments, cost centers, business units and divisions), plus your custom attributes.
- Okta attributes: Leapsome reads this list from your Okta org, so your custom Okta attributes appear next to the standard ones. When you pick a Leapsome attribute, Leapsome suggests a matching Okta attribute where there is one.
Add a custom Okta attribute
- In Okta, go to Directory > Profile Editor and open the User (default) profile.
- Select Add Attribute and create it with Data type: string.
- In Leapsome, close and reopen the Okta settings. The new attribute appears under Okta custom attributes.
An Okta attribute doesn't appear in the list if it isn't a string or if Okta marks it read-only. The username (login) can't be mapped.
How values are written
| Leapsome value | Written to Okta as |
|---|---|
| Text, URL, email, phone, currency, single select | The value |
| Number, formula, monetary | The number as text |
| Yes/no | true or false |
| Date | YYYY-MM-DD (UTC) |
| Work location, legal entity, level | The name |
| Multi select, or several org assignments | The values separated by commas |
| Person or People custom attributes | Can't be mapped |
If an employee has no value for a mapped attribute, Leapsome clears it in Okta.
Managers
- Primary manager is suggested for Manager (login). This writes the manager's work email to Okta's
managerId, so Okta resolves the manager to a user, for example for Okta Identity Governance approvals. Map it to Manager (display name) instead if you only want the manager's name as text. - When a manager's details change in Leapsome, their direct reports are updated in Okta automatically.
- Map Additional managers to a custom Okta attribute. They are written as a comma-separated list of work emails. Don't map them to
managerId, because it holds only one user.
Step 8: Run the first sync
- Select Sync now. Leapsome saves your settings and syncs every employee.
- Check the result in Okta under Directory > People, and check the sync warnings in Leapsome.
From then on, changes to employees in Leapsome reach Okta automatically, usually within a few minutes. Leapsome also runs a full sync every six hours, which catches anything a live update missed.
Troubleshooting
Messages when you connect
| Message in Leapsome | What to do |
|---|---|
| Generate a key in Leapsome and add it to your Okta API Services app before connecting. | Follow steps 2 and 3, then connect again. |
| Okta rejected the token request. | Check the org URL (without -admin) and that the client ID belongs to the API Services app. Make sure the public key shown in Leapsome is added to the app and client authentication is set to Public key / Private key (step 3). |
| Your Okta API Services app requires DPoP. | Clear Require Demonstrating Proof of Possession (DPoP) header in token requests on the app (step 3), then connect again. |
| Your Okta API Services app does not grant all required scopes. | Grant both scopes from step 4, then connect again. |
| Okta denied access to its users. | Assign the Organization Administrator role (step 5), then connect again. |
| Leapsome could not read users from your Okta org with these credentials. | Check the org URL, the scopes and the admin role, then connect again. |
| A sync is running for this integration. Wait for it to finish before connecting a different Okta org. | Wait for the sync to finish, then connect again. |
| Reconnection required | Okta rejected the stored credentials, for example because the key or the admin role changed on the app. Fix the app in Okta, then select Reconnect Okta. Your mapping and settings are kept. |
Sync warnings
After each sync, Leapsome lists the employees it couldn't sync, grouped by reason.
| Warning | What to do |
|---|---|
| No matching Okta user and automatic creation is off | Turn on Automatically create employees in Okta, or check that the employee's work email is the Okta username or primary email. |
| Several Okta users match, or the match is linked to someone else | More than one Okta user has this primary email, or the matching Okta user is already linked to another employee. Fix the duplicate email in Okta or Leapsome. |
| Work email is already an Okta login | Another Okta user already has this work email as their username. Check which person the Okta user belongs to. |
| Managed by another profile source | Another app, such as Active Directory or an old Custom Identity Source app, masters this Okta user's profile. Turn off profile sourcing in that app, or leave the user out. |
| Cannot be updated with the app's admin role, for example a Super Administrator | Only a Super Administrator can change another Super Administrator. Update these users in Okta yourself. |
| Deactivated in Okta | Someone deactivated this Okta user in Okta. Leapsome doesn't reactivate users it didn't deactivate. Reactivate them in Okta to resume syncing. |
| Missing required fields | The employee has no first name, last name or work email in Leapsome. |
Mapping messages
| Message in Leapsome | What to do |
|---|---|
| One of the selected Okta attributes does not exist in your Okta org. | Someone removed it in Okta. Reopen the settings to refresh the list and pick another attribute. |
| One of the mapped Leapsome attributes no longer exists or cannot be sent to Okta. | A custom attribute was deleted in Leapsome, or it's a Person attribute. Pick a different one. |
| Could not read the attribute list from your Okta org. | This is usually temporary. Reopen the settings in a moment. Until then, only Okta's standard attributes are listed. |
| A sync is already running. | Wait for it to finish, then try again. |
Replace the signing key
Leapsome keeps one key per account. To replace it, for example if you think it was exposed, disconnect and connect again:
- Note your attribute mapping and the two settings under Activation and deactivation. Disconnecting removes them.
- In Leapsome, select Revoke authorization. This deletes the key.
- In Okta, remove the old key under Public keys on the API Services app.
- In Leapsome, select Generate key, add the new key to the app in Okta, and connect again (steps 2, 3 and 6).
- Set up your mapping and settings again, then select Sync now. Leapsome links your employees to their Okta users by work email again.
Disconnect the integration
In the Okta settings in Leapsome, select Revoke authorization. Syncing stops right away.
Disconnecting deletes the connection details, the key, your attribute mapping, your sync settings and the links between employees and Okta users. Nothing is deleted in Okta.
When you connect again, Leapsome links employees by work email again. Okta users that Leapsome deactivated before the disconnect are not reactivated automatically. Reactivate them in Okta if those employees come back.
To also remove Leapsome's access on the Okta side, deactivate or delete the API Services app in Okta.