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
- Sign in to Okta and go to Admin → Applications.
- Select Create App Integration, then select SAML 2.0.
- Fill in General Settings. The app name is required, for example "Tokenize".
- Select Next to open the Configure SAML page.
- Paste the Tokenize values into Single sign-on URL and Audience URI (SP Entity ID).
- 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.
- On the Configure SAML page, find Attribute Statements.
- Select Add Expression for each attribute and enter these pairs:
| Name | Expression |
|---|---|
mail | user.profile.email |
firstName | user.profile.firstName |
lastName | user.profile.lastName |
Step 3: Assign people
People can't sign in with SSO until they're assigned to the app.
- Open the app's Assignments tab.
- Open the Assign dropdown and select Assign to People or Assign to Groups.
- Search for the person or group and select Assign next to it.
- Select Done.
Step 4: Share the metadata URL
- Open the app's Sign On tab.
- Under Sign on methods, copy the Metadata URL.
- 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.
- In Okta, open the app's Provisioning tab.
- Select Configure API Integration and check Enable API integration.
- Paste the SCIM URL into SCIM connector base URL.
- Set Unique identifier field for users to
userName. - Paste the token into API Token.
- Select Test API Credentials. When the test passes, select Save.
- 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 attribute | Required | Used for |
|---|---|---|
user.email → email | Yes | Matching people to their Tokenize account. |
user.department → department | Recommended | Teams. |
user.managerId → managerId, the manager's email or employee number | Recommended | Managers 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:
- Open the app's Push Groups tab.
- Turn on group push, then select the groups to push.
- 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.