Skip to main content
Your Okta admin and a Datafold admin set up Okta OIDC together so your team can sign in to Datafold with Okta.

Before you begin

  • You are an admin in your Datafold organization.
  • You can create app integrations in Okta. This may require Okta admin privileges.
  • You know your Datafold URL (<DATAFOLD_HOST> below).

Configure the identity provider

Create the Okta app integration

1

Start a new app integration

In Okta, go to Applications and click Create App Integration. Select OpenId Connect (OIDC) as the sign-in method and Web Application as the application type.
2

Fill in the integration settings

For the Sign-in redirect URI, use https://<DATAFOLD_HOST>/oauth/okta, where <DATAFOLD_HOST> is your Datafold URL.
3

Save the integration

Click Save. Okta shows the Client ID and Client Secret. You need both in Datafold later.
4

Add the second sign-in redirect URI

Edit General settings and add a second Sign-in redirect URI, https://<DATAFOLD_HOST>/oauth/okta/<CLIENT_ID>, where <CLIENT_ID> is the Client ID from the previous step. Datafold uses one of the two URIs depending on how your deployment is set up, so register both. Click Save.

Set up Okta-initiated sign-in (optional)

This step lets users open Datafold from the Okta end-user dashboard. The Okta admin decides whether to enable it.
1

Edit the general settings

In the Okta app integration, edit General settings.
2

Configure sign-in

In the Initiate login URI:
  • Replace <DATAFOLD_HOST> with your Datafold URL.
  • Replace <CLIENT_ID> with the Client ID of the Okta integration.
  • Replace <ACTION> with signup if you enable user auto-creation in Datafold, or login otherwise.
3

Save the changes

Click Save.

Configure Datafold

Go to Settings → Integrations → SSO → Add new integration → Okta, fill in the fields and click Save. Users can sign in with Okta in two ways:
  • Invited: a Datafold admin invites the user with the same email address they use in Okta.
  • Auto-created: when the signup action is set in the login URI, users assigned to the Datafold app in Okta can sign in. If the user hasn’t been invited, Datafold creates a user for them.
Once Okta is configured, non-admin users can no longer set or reset a password, but users who already have one can keep using it. To require Okta, uncheck Allow non-admin users to login with email and password under Settings → Org Settings. Admins can sign in with a password unless Allow admin users to login with email and password is unchecked as well.

Synchronize state with Datafold (optional)

Set this up so Datafold automatically disables and signs out non-admin users when they are unassigned or deactivated in Okta. Admin users are not affected.
1

Create an event hook in Okta

In the Okta Admin panel, go to Workflow → Event Hooks and click Create Event Hook.
2

Fill in the event hook settings

3

Generate the secret in Datafold

In Datafold, go to Settings → Integrations → SSO → Okta. The Events Secret field appears only after you first save the integration. Click Generate, copy the token with Copy and click Save. Paste the token into the Authentication secret field in Okta.
Keep this token safe. You can’t see it again after you save the integration.
4

Subscribe to events

In Subscribe to events, add User suspended, User deactivated, Deactivate application and User unassigned from app. Click Save & Continue.
5

Verify the endpoint

On Verify Endpoint Ownership, click Verify. If verification succeeds, the setup is complete.

Test sign-in

1

Open Datafold

Go to your Datafold URL, https://<DATAFOLD_HOST>.
2

Enter your email

Type your email and wait up to five seconds. The Okta button switches from disabled to enabled.
3

Sign in with Okta

Click the Okta button. Your browser goes to your Okta domain, Okta authenticates you, and you return to Datafold.
If sign-in fails, note any error message and contact support@datafold.com.