Okta single sign-on (SSO) lets your users sign in to Swif with their Okta credentials. Okta's sign-on policies, and MFA, apply to every Swif sign-in.
Choose a setup
Setup | Protocol | See |
The Swif app from the Okta catalog, with SAML 2.0 | SAML | Set up with SAML 2.0 |
The Swif app from the Okta catalog, with OpenID Connect | OIDC | Set up with OpenID Connect (OIDC) |
Your own Okta app | OIDC | Set up your own OIDC app |
Your own Okta app | SAML | Set up your own SAML app |
You can add SCIM provisioning to any of them, to create and remove Swif users from Okta. See Provision users with SCIM.
Coming soon: Swif is being added to the Okta Integration Network. Until it appears in Okta's catalog, use Set up your own OIDC app.
Supported features
Feature | What it does |
SP-initiated SSO | Users sign in from Swif's sign-in page |
IdP-initiated SSO | Users sign in by clicking the Swif tile on their Okta End-User Dashboard |
Just-In-Time (JIT) provisioning | Swif creates a user's account the first time they sign in. New users get the Employee role. |
For more about these features, see the Okta Glossary.
Requirements
Requirement | Details |
Swif | A Swif account with the Admin role |
Okta | An Okta account with the Super Administrator, or Application Administrator, role |
Set up with SAML 2.0
Step 1: Get your Connection Name from Swif
You'll need it when you add Swif in Okta.
Sign in to Swif as an Admin.
Go to Settings > Security. Under SSO Identity Providers, click Choose Provider, select Okta, then SAML 2.0.
Copy the Connection Name shown. Swif creates it for your organization.
Keep this page open. You'll come back to it in Step 3.
Step 2: Add Swif from the Okta catalog
In the Okta Admin Console, go to Applications > Applications.
Click Browse App Catalog, search for Swif, and select it.
Click + Add Integration.
In Connection Name, enter the value from Step 1.
Optionally, change the Application label. Click Next.
In Sign-On Options, check that SAML 2.0 is selected.
Click Done.
Step 3: Send Okta's SAML details to Swif
In the Swif app in Okta, open the Sign On tab.
Under SAML 2.0, click More details. Copy the Sign on URL, and download the Signing Certificate.
Back in Swif, on the SAML 2.0 page from Step 1:
paste the Sign on URL into Identity Provider Single Sign-On URL
upload the certificate in Upload X.509 Certificate
Click Authorize.
Swif activates your connection, usually within 8 hours, and lets you know by Slack or email when it's active. The message includes your organization's sign-in address. See Sign in to Swif.
Step 4: Assign users
In the Swif app in Okta, open the Assignments tab.
Click Assign, then Assign to People, or Assign to Groups.
Users must be assigned to the Swif app before they can sign in.
SAML attributes
The Swif app sends these in its SAML assertion. They're already set up in the app. Don't rename or remove them, since Swif uses them to identify each user, and set their name.
Attribute | Value | Used for |
|
| The user's Swif sign-in |
|
| The user's first name |
|
| The user's last name |
The app also uses Name ID format: Unspecified, and Application username: Email.
Set up with OpenID Connect (OIDC)
Step 1: Add Swif from the Okta catalog
In the Okta Admin Console, go to Applications > Applications.
Click Browse App Catalog, search for Swif, and select it.
Click + Add Integration.
On the General Settings tab, change the Application label if needed. Click Done.
Step 2: Select OpenID Connect
Don't skip this step. The Swif app uses SAML 2.0 by default. Without this step, OIDC sign-in doesn't work.
Open the Swif app's Sign On tab.
Click Edit. Under Sign on methods, select OpenID Connect.
Click Save.
On the same tab, copy the Client ID, and Client Secret.
Step 3: Enter the credentials in Swif
In Swif, go to Settings > Security. Under SSO Identity Providers, click Choose Provider, select Okta, then OIDC - OpenID Connect.
Enter the Client ID, and Client Secret, from Step 2.
In Domain, enter your Okta domain, such as
yourcompany.okta.com.Click Authorize.
Swif activates your connection, usually within 8 hours, and lets you know by Slack or email when it's active. The message includes your organization's sign-in address. See Sign in to Swif.
Step 4: Assign users
The same as for SAML. See Step 4: Assign users, in Set up with SAML 2.0.
If you rotate the Client Secret in Okta, click Unauthorize in Swif's Settings > Security, then set up Okta OIDC again, with the new secret.
Sign in to Swif
From Swif's sign-in page (SP-initiated)
Go to your organization's sign-in address. Swif sends it with the message that your connection is active.
US:
https://app.swif.ai/enterprise/<organization>EU:
https://app.eu.swif.ai/enterprise/<organization>
Sign in to Okta. Okta returns you to Swif.
Bookmark the address, or share it with your users.
From Okta (IdP-initiated)
Sign in to your Okta End-User Dashboard.
Click the Swif tile. You're signed in to Swif.
This works once Swif has activated your connection. Until then, the tile opens Swif's usual sign-in page.
Set up your own OIDC app
Create the app in Okta
Sign in to your Okta administrator account.
Go to Applications, and click Create App Integration.
Select OIDC - OpenID Connect, and Web Application.
Set the Sign-in redirect URI:
US:
https://auth.swif.ai/login/callbackEU:
https://auth.eu.swif.ai/login/callback
Save the app, and copy its Client ID, Client Secret, and Domain, your Okta organization's address, such as
dev-xxxxx.okta.com.
Enter the details in Swif
Go to Settings > Security, and enter the Client ID, Client Secret, and Domain.
Set up your own SAML app
Use these steps if your organization uses its own SAML app in Okta, rather than the Swif app from the Okta catalog.
Create the app in Okta
In Okta, go to Applications, click Create App Integration, and select SAML 2.0.
Enter a name for the app.
Enter these values. Replace
{CONNECTION_NAME}with the connection name the Swif team gives you. If you don't have it, email support@swif.ai.
Field | Value |
Single Sign-On URL | US: EU: |
Audience URI (SP Entity ID) |
|
4. Click Next, then Finish.
Send the SAML details to Swif
In the app's Sign On tab, click View SAML setup instructions.
Copy the Identity Provider Single Sign-On URL, and download the certificate file.
In Swif, go to Settings > Security. Enter the URL, and upload the certificate.
Sign in from the Okta tile
With your own SAML app, Swif can turn on signing in from the Okta tile, also called IdP-initiated sign-in. Email support@swif.ai to ask.
Then, in your SAML app's settings in Okta, set RelayState to:
US:
https://swifteam.us.auth0.com/samlp/OnkvyLHmu3oC9pnTHsfMPsUb1i6VNAO7EU:
https://eu-swifteam.eu.auth0.com/samlp/EZ2WBACY2oZLHMFhGaepyMyS1HvnS1md
The Swif app from the Okta catalog doesn't need RelayState.
Provision users with SCIM
SCIM creates Swif users when you assign them in Okta, updates them, and removes them when you unassign them.
Get the SCIM details from Swif
You need the SCIM endpoint URL, and token, from the Swif team. If you don't have them, email support@swif.ai.
Turn on SCIM in Okta
Go to Applications, open your Swif app, and go to General. Turn on SCIM provisioning, and save.
Go to Provisioning > Integration. Enter the SCIM connector base URL, and token, from Swif. Make sure the token has all the scopes it needs.
Click Test Connector Configuration, then save.
Choose what Okta changes in Swif
Go to Provisioning > To App.
Turn on Create Users, Update User Attributes, and Deactivate Users. Click Save.
3. Under Attribute Mappings, delete these mappings with the X button. Swif doesn't need them, and they can cause errors when Okta updates users:
Attribute | Value |
Primary email type |
|
Primary phone type |
|
Address type |
|
Test it
Assign a user to the Swif app, in its Assignments tab. They're created in Swif as an employee. If you invited them to your team first, they join as a Team Admin. Otherwise, they get the Employee role.
Change the user's details in Directory > People, and check that Swif updates them.
Unassign the user, and check that Swif removes them.
Always test from the app's Assignments tab, not only Directory > People.
Troubleshooting
Okta shows "Access denied," or a 403 error
The user isn't assigned to the Swif app. Assign them in its Assignments tab.
Clicking the Swif tile shows Swif's usual sign-in page
With the catalog app: your connection isn't active yet. Wait for Swif's message that it's active, or contact support@swif.ai.
With your own OIDC app: start from Swif's sign-in page, or contact support@swif.ai.
With your own SAML app: check that Swif has turned on signing in from the tile, and that RelayState is set. See Sign in from the Okta tile.
OIDC sign-in doesn't work with the catalog app
Check that OpenID Connect is selected on the Swif app's Sign On tab, in Okta. The app uses SAML 2.0 by default. See Step 2: Select OpenID Connect.
Sign-in fails after changing Okta's signing certificate
Upload the new certificate in Swif. See Step 3: Send Okta's SAML details to Swif.
SCIM users aren't created, or don't get the right role
Check the SCIM URL, token, and attribute mappings. Test from the app's Assignments tab.
Something else isn't working
Contact support@swif.ai. For problems in Okta itself, open a case with Okta support.
Related resources



















