GuidesAPI ReferenceChangelog
Guides

Use Deel for profile sourcing to Okta

Learn how to make Deel your profile source for Okta

Deel can act as the source of truth for user identities in Okta, or other SSO providers. Doing so will allow you to create users on Deel, then automatically provision them in Okta using SCIM. This article explains how to configure Deel as the profile source.

In this article:

Before you begin

To complete this setup, you'll need:

  • A valid Deel API access token
  • The correct Okta tier and permissions that allow you to perform the steps described

📘

The SCIM API doesn't return manager-type users

This guide leverages the SCIM API, which currently only supports worker-type users, manager-type users are not supported.

Step 1. Create a SWA integration in Okta

Begin by creating an SSO integration that supports SCIM. For the integration to work with Deel, it must be a SWA integration.

To create an SWA integration:

  1. In the Admin Console, go to Applications > Applications.
  2. Click Create App Integration.
  3. Select SWA - Secure Web Authentication as the Sign-on method, then click Next.
  1. On the Create SWA Integration page, fill in the details, then click Finish. Make sure you configure the settings as described in the following table.
FieldValue
Who sets the credentials? Administrator sets username and password
Application usernameEmail

Step 2. Add SCIM provisioning

  1. After you create your integration, click the General tab.
  2. In the App Settings section, click Edit.
  3. In the Provisioning field, select SCIM, and then click Save.

Step 3. Configure SCIM provisioning

  1. After adding the SCIM provisioning, click the Provisioning tab.
  2. In Settings > Integration, click Edit.
  3. In the SCIM Connection section, configure the settings, then click Save. Make sure you configure the settings as described in the following table.
FieldValue
SCIM connector base URLhttps://api.deel.com/scim/v2/
Unique identifier field for usersid
Supported provisioning actionsImport New Users and Profile Updates, Push New Users, Push Profile Updates
Authentication ModeHTTP Header
Authorization Enter the access token retrieved from the Deel UI as indicated in Before you begin
  1. In Settings > To Okta, click Edit next to the General section.
  2. Modify the settings as described in the following table, then click Save.
FieldValue
Okta username formatCustom
Custom expressionappuser.userName
  1. Click Edit next to the User Creation & Matching section.
  2. Modify the settings as described in the following table, then click Save.
FieldValue
Imported user is an exact match to Okta user if The following attribute matches: login
Confirm new users Select the option Auto-confirm new users

Step 4. Map attributes

📘

Mapping based on the default Okta fields

If you have custom fields, discuss the mapping with your Deel representative to get the best results. Most fields are available through the People and SCIM APIs, and others can be mapped through the Custom Fields API. For more information, visit the Developer Portal.

  1. In Settings > To Okta, locate the Okta Attribute Mappings section.
  2. Edit the attribute mappings according to the following table.
Okta AttributeValue
Username loginConfigured in Sign On settings
First name firstNamegivenName
Last name lastNamefamilyName
Middle name middleNamemiddleName
Honorific prefix honorificPrefixhonorificPrefix
Honorific suffix honorificSuffixhonorificSuffix
Primary email emailemail
Title titletitle
Display name displayNamedisplayName
Nickname nickNamenickName
Profile Url profileUrlprofileUrl
Primary phone primaryPhoneprimaryPhone
Street address streetAddressstreetAddress
City citylocality
State stateregion
Zip code zipCodepostalCode
Country code countryCodecountry
Postal Address postalAddressformatted
Preferred language preferredLanguagepreferredLanguage
Locale localelocale
Time zone timezonetimezone
User type userTypeuserType
Employee number employeeNumberemployeeNumber
Cost center costCentercostCenter
Organization organizationorganization
Division divisiondivision
Department departmentdepartment
ManagerId managerIdmanagerValue
Manager managermanagerDisplayName

Step 5. First import

After mapping the attributes, users are ready to be imported for the first time.

To perform the import:

  1. Click the Import tab.
  2. Click Import Now.
  3. Review the mapping information for each user, select the users you want to import, then click Confirm Assignments.
  1. On the Confirm Imported User Assignments dialog, click Confirm.

Once users are assigned, you can see the assignments from the Assignments tab.

Further reference

This document is largely based on Okta's documentation. Here's the material we consulted to create this article:

Next up

  • Mapping employees to groups (coming soon)
  • Offboarding employees (coming soon)