Set up SSO and directory sync with Okta

Create a SAML app in Okta for Tokenize sign-in, then turn on SCIM provisioning to sync users, teams, and managers.

This guide walks through the Okta side of SAML single sign-on and SCIM directory sync for Tokenize. For what SSO and directory sync do in Tokenize, and how to check sync status, see Set up SSO and directory sync.

Who can do this: An Okta admin, working with a Tokenize Admin.

Before you start

Get the Single sign-on URL and Audience URI (SP Entity ID) for your Tokenize SSO connection. If your organization has self-serve SSO, they appear when you add an SSO connection in Settings → Organization → Security. Otherwise your Tokenize account team sends them to you.

Step 1: Create a SAML app in Okta

  1. Sign in to Okta and go to Admin → Applications.
  2. Select Create App Integration, then select SAML 2.0.
  3. Fill in General Settings. The app name is required, for example "Tokenize".
  4. Select Next to open the Configure SAML page.
  5. Paste the Tokenize values into Single sign-on URL and Audience URI (SP Entity ID).
  6. On the Feedback page, select This is an internal app that we have created, then select Finish.

Step 2: Add attribute statements

The SAML response must include each person's email. First and last name are optional.

  1. On the Configure SAML page, find Attribute Statements.
  2. Select Add Expression for each attribute and enter these pairs:
NameExpression
mailuser.profile.email
firstNameuser.profile.firstName
lastNameuser.profile.lastName

Step 3: Assign people

People can't sign in with SSO until they're assigned to the app.

  1. Open the app's Assignments tab.
  2. Open the Assign dropdown and select Assign to People or Assign to Groups.
  3. Search for the person or group and select Assign next to it.
  4. Select Done.

Step 4: Share the metadata URL

  1. Open the app's Sign On tab.
  2. Under Sign on methods, copy the Metadata URL.
  3. Add it to your SSO connection in Settings → Organization → Security, or send it to your Tokenize account team.

Once the connection shows Active under Settings → Directory Sync, assigned people can sign in with Okta.

Step 5: Turn on SCIM provisioning

Do this after SSO works. You need the SCIM URL and token for your connection. See Set up directory sync for where to get them.

  1. In Okta, open the app's Provisioning tab.
  2. Select Configure API Integration and check Enable API integration.
  3. Paste the SCIM URL into SCIM connector base URL.
  4. Set Unique identifier field for users to userName.
  5. Paste the token into API Token.
  6. Select Test API Credentials. When the test passes, select Save.
  7. Under To App, select Edit and enable Create Users, Update User Attributes, and Deactivate Users. Select Save.

Step 6: Map attributes

Under Attribute Mappings on the To App page, check these mappings:

Okta attributeRequiredUsed for
user.email → emailYesMatching people to their Tokenize account.
user.department → departmentRecommendedTeams.
user.managerId → managerId, the manager's email or employee numberRecommendedManagers and reporting lines.

Map email even if userName is already the person's email. Tokenize needs both.

If your team or manager data lives in custom Okta profile fields, map those fields to department and managerId instead. Without them, Tokenize can't build teams or reporting lines, and the Synced fields column on Settings → Directory Sync shows Not mapped.

Step 7: Push groups (optional)

To send Okta groups to Tokenize, for example to decide who should be an Admin:

  1. Open the app's Push Groups tab.
  2. Turn on group push, then select the groups to push.
  3. Select Save.

Check it worked

Go to Settings → Directory Sync in Tokenize. Assigned people appear in the Directory users table with Source set to Directory sync. If they don't, see Troubleshooting.