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

Sign in from the Okta tile

Best for

The Swif app from the Okta catalog

OIDC

✅, once Swif activates your connection

Most organizations. See Set up the Swif app from the Okta catalog.

Your own Okta app

OIDC

Organizations that prefer to create their own app. See Set up your own OIDC app.

Your own Okta app

SAML 2.0

✅, once Swif enables it

Organizations that use SAML. See Set up a SAML app.

You can add SCIM provisioning to any of them, to create and remove Swif users from Okta. See Provision users with SCIM.


Set up the Swif app from the Okta catalog

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.

Use the Swif app in the Okta Integration Network (OIN), with OpenID Connect (OIDC).

Supported features

Feature

What it does

IdP-initiated SSO

Users sign in to Swif by clicking the Swif tile on their Okta End-User Dashboard

SP-initiated SSO

Users start from Swif's sign-in page, and are sent to Okta to sign in

Just-In-Time (JIT) provisioning

A user who signs in for the first time, without a Swif account, gets one automatically

For more about these features, see the Okta Glossary.

Requirements

Requirement

Details

Okta

An Okta account with Super Administrator, or Application Administrator, rights

Swif

A Swif account with an administrator role

Your Swif region

US: app.swif.ai. EU: app.eu.swif.ai.

Step 1: Add the Swif app in Okta

  1. Sign in to the Okta Admin Console.

  2. Go to Applications > Applications, and click Browse App Catalog.

  3. Search for Swif, and click Add Integration.

  4. Optionally, change the Application label. Click Done.

Step 2: Copy the client credentials

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

  2. Copy the Client ID, and Client secret.

  3. Note your Okta domain, such as yourcompany.okta.com.

Step 3: Enter the credentials in Swif

  1. Sign in to Swif as an administrator.

  2. Go to Settings > Security.

  3. Under SSO Identity Providers, click Choose Provider, and select Okta.

  4. Select OIDC - OpenID Connect.

  5. Enter the Client ID, Client Secret, and Domain from Step 2, and save.

Step 4: Ask Swif to activate the connection

Email support@swif.ai to say you've finished Step 3. Include your company name, and Okta domain.

The Swif team activates your Okta connection, usually within 8 hours, and sends you your organization's sign-in address, for SP-initiated SSO.

Step 5: Assign users

  1. In Okta, open the Swif app, and go to the Assignments tab.

  2. Assign the users, or groups, who should have access to Swif.

Users must be assigned to the Swif app before they can sign in.

Sign in to Swif

From Swif's sign-in page (SP-initiated)

  1. Go to the sign-in address the Swif team sent you in Step 4:

    • US: https://app.swif.ai/enterprise/<your-organization>

    • EU: https://app.eu.swif.ai/enterprise/<your-organization>

  2. You're sent to Okta. Enter your Okta credentials.

  3. After you sign in, you're signed in to Swif.

From Okta (IdP-initiated)

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

  2. Click the Swif tile. You're signed in to Swif automatically.

​

This works once the Swif team has activated your connection, in Step 4. Until then, the tile opens Swif's usual sign-in page.

Notes

  • New users, created when they first sign in through Okta, get the Employee role. To give someone administrator access, invite them from Swif first, or change their role after they first sign in.

  • US and EU organizations are both supported. Signing in from the Okta tile takes users to the right region automatically. To sign in from Swif's sign-in page, use the address for your region, which the Swif team sends you in Step 4.


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 a SAML app

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, using 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, and enter the URL, and upload the certificate.

Sign in from the Okta tile

With SAML, Swif can turn on signing in from the Okta tile, also called IdP-initiated login. Email support@swif.ai to ask.

Then, in the Okta SAML app's settings, set RelayState to:

  • US: https://swifteam.us.auth0.com/samlp/OnkvyLHmu3oC9pnTHsfMPsUb1i6VNAO7

  • EU: https://eu-swifteam.eu.auth0.com/samlp/EZ2WBACY2oZLHMFhGaepyMyS1HvnS1md


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 hasn't been activated yet. Contact support@swif.ai.

  • With your own OIDC app: start from Swif's sign-in page, or contact support@swif.ai.

  • With a SAML app: ask Swif to turn on IdP-initiated login, and check the RelayState.

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?