Skip to main content

Enabling Okta SSO for Swif Login (OIDC + SAML + SCIM)

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.

  1. Sign in to Swif as an Admin.

  2. Go to Settings > Security. Under SSO Identity Providers, click Choose Provider, select Okta, then SAML 2.0.

  3. 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

  1. In the Okta Admin Console, go to Applications > Applications.

  2. Click Browse App Catalog, search for Swif, and select it.

  3. Click + Add Integration.

  4. In Connection Name, enter the value from Step 1.

  5. Optionally, change the Application label. Click Next.

  6. In Sign-On Options, check that SAML 2.0 is selected.

  7. Click Done.

Step 3: Send Okta's SAML details to Swif

  1. In the Swif app in Okta, open the Sign On tab.

  2. Under SAML 2.0, click More details. Copy the Sign on URL, and download the Signing Certificate.

  3. 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

  4. 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

  1. In the Swif app in Okta, open the Assignments tab.

  2. 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

email

user.email

The user's Swif sign-in

given_name

user.firstName

The user's first name

family_name

user.lastName

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

  1. In the Okta Admin Console, go to Applications > Applications.

  2. Click Browse App Catalog, search for Swif, and select it.

  3. Click + Add Integration.

  4. 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.

  1. Open the Swif app's Sign On tab.

  2. Click Edit. Under Sign on methods, select OpenID Connect.

  3. Click Save.

  4. On the same tab, copy the Client ID, and Client Secret.

Step 3: Enter the credentials in Swif

  1. In Swif, go to Settings > Security. Under SSO Identity Providers, click Choose Provider, select Okta, then OIDC - OpenID Connect.

  2. Enter the Client ID, and Client Secret, from Step 2.

  3. In Domain, enter your Okta domain, such as yourcompany.okta.com.

  4. 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)

  1. 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>

  2. Sign in to Okta. Okta returns you to Swif.

Bookmark the address, or share it with your users.

From Okta (IdP-initiated)

  1. Sign in to your Okta End-User Dashboard.

  2. 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

  1. Sign in to your Okta administrator account.

  2. Go to Applications, and click Create App Integration.

  3. Select OIDC - OpenID Connect, and Web Application.

  4. Set the Sign-in redirect URI:

    • US: https://auth.swif.ai/login/callback

    • EU: https://auth.eu.swif.ai/login/callback

  5. 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

  1. In Okta, go to Applications, click Create App Integration, and select SAML 2.0.

  2. Enter a name for the app.

  3. 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: https://auth.swif.ai/login/callback?connection={CONNECTION_NAME}

EU: https://auth.eu.swif.ai/login/callback?connection={CONNECTION_NAME}

Audience URI (SP Entity ID)

urn:auth0:swifteam:{CONNECTION_NAME}

4. Click Next, then Finish.

Send the SAML details to Swif

  1. In the app's Sign On tab, click View SAML setup instructions.

  2. Copy the Identity Provider Single Sign-On URL, and download the certificate file.

  3. 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/OnkvyLHmu3oC9pnTHsfMPsUb1i6VNAO7

  • EU: 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

  1. Go to Applications, open your Swif app, and go to General. Turn on SCIM provisioning, and save.

  2. Go to Provisioning > Integration. Enter the SCIM connector base URL, and token, from Swif. Make sure the token has all the scopes it needs.

  3. Click Test Connector Configuration, then save.

Choose what Okta changes in Swif

  1. Go to Provisioning > To App.

  2. 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

(user.email != null && user.email != '') ? 'work' : ''

Primary phone type

(user.primaryPhone != null && user.primaryPhone != '') ? 'work' : ''

Address type

(user.streetAddress != null && user.streetAddress != '') ? 'work' : ''

Test it

  1. 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.

  2. Change the user's details in Directory > People, and check that Swif updates them.

  3. 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

Did this answer your question?