Note:
This article provides steps for syncing Okta attributes to Simpplr. You must first have Okta enabled at the application level before performing the steps below. For information on how to initially set up Okta's SSO solution with Simpplr, click here.
Follow these steps to sync attributes from Okta to Simpplr using Simpplr's Okta API integration.
Enable Okta syncing
- Click on the user picture on the top right corner and Manage > Manage Application.
- Go to Integrations > Single Sign on.
- Enter the URL of Okta Tenant (like https://companyname.okta.com).
- Generate the Okta API token from Okta Admin Panel > Security > API (You can generate a token with Read Only Admin privileges.
- In most cases, the Okta Username Format will be a Salesforce account email, but it can be changed.
- In the same menu click on Setup > Navigation.
- Select Okta under the Single Sign-on Integration drop down.
- Scroll down to the bottom and click Save.
- Go to the Salesforce > Setup > Security Controls > Remote Site Settings and then click New Remote Site.
- For Remote Site Name, enter “Okta”.
- ForRemote Site URL, enter your Okta URL.
step 2 - navigating to SSO
step 6 - navigating to Setup > Navigation
step 9 - clicking New Remote Site in Salesforce
step 11 - entering your Okta URL
Scenarios for syncing fields
All attributes are working, but changes are required for the manager attribute to sync. There are two possible scenarios you can run:
Scenario 1
This is applicable if Active Directory is the source account from which you're syncing user data. If you check the Manager attribute in Okta profile for the user, this field will be blank. If you scroll down further, you'll see the manager attribute from Active Directory reads Distinguish Name of manager. You'll need to change this Distinguishing name to Manager email.
- Go to Directory > Profile Editor and look for Active Directory on the left hand side. Click Mappings.
- Ensure that changes are being made from from Active Directory to Okta. You can verify this by seeing the top.
- Scroll to Manager attribute.
- Add this function: getManagerUser("active_directory").email. This will convert the Manager DN to Manager email.
- Run the Full import from Active Directory to Okta.
-
-
Scenario 2
Option 1: If Okta is the source account from which you're syncing user data, then you only need to ensure that you have Manager email in the Manager attribute.
Option 2: You can create a custom attribute called managerEmail (This is case sensitive). One of these attributes should be a manager email.
To add a new attribute:
- Select the data type
- Enter the Display name as managerEmail
- Enter the Variable name
- Give the attribute a Description
Select Okta fields to sync from within Simpplr
Note:
Any custom field in Okta can be mapped in Simpplr.- Go to Simpplr, go to Manage > Manage application. Click People in Manage Application. Go to User Syncing.
- Change the Syncing Source from Salesforce to Okta.
- Check the attributes you want to sync from Okta like Title, Manager, etc.
Note:
The Company field in Simpplr maps to the Organization field in Okta. - For the Hire Date field, enter the Okta field name that contains the hire date. The date must be in YYYY-MM-DD format.
- If you want to add any custom field, scroll down to Sync additional fields, click Add Field.
- Enter the Okta field name in Field to Sync field.
- Enter the field name that you want to display in Simpplr in Label singular and Label plural.
- If you want to display the field in the People directory as one of the searchable filters, select the Display filter on people listing for this field checkbox.
- Scroll down to Save.
step 3 - change the syncing source
step 4 - enter the hire date field in proper formatting
step 9 - display filter checkbox
Force sync
- Navigate Manage Applications > Setup > Schedulers.
- Select SchedulerSimpplrServices and click on the drop down.
- Check the attributes you want to sync from Okta like Title, Manager, etc.
- Click Run now. This is scheduled to run overnight daily, but Run Now allows you to manually sync with Okta right away.
step 4- Run now
Comments
Please sign in to leave a comment.