---
title: SSO to Databricks with OneLogin
description: Learn how to set up OneLogin for SSO with your Databricks Account.
canonical_url: https://docs.databricks.com/gcp/en/security/auth/single-sign-on/one-login
---

# SSO to Databricks with OneLogin

> [!NOTE]
> **Preview**
>
> This feature is in [Public Preview](https://docs.databricks.com/gcp/en/release-notes/release-types.md).

This page shows how to configure OneLogin as the identity provider for single sign-on (SSO) in your Databricks account. OneLogin supports both OpenID Connect (OIDC) and SAML 2.0. To sync users and groups from OneLogin, see [Sync users and groups from your identity provider using SCIM](https://docs.databricks.com/gcp/en/admin/users-groups/scim/index.md).

## Enable OneLogin single sign-on

Choose your identity protocol:

### OIDC

1. As an account admin, log in to the [account console](https://accounts.gcp.databricks.com) and click **Security**.

2. Click the **Identity provider setup** tab.

3. In the **Authentication** section, configure single sign-on to open the SSO configuration dialog.

4. On the **Add details** step, under **Identity protocol**, select **OpenID Connect**.

5. Make note of the **Databricks Redirect URL** value.

   ![Configure SAML SSO.](https://docs.databricks.com/gcp/en/images/sso/saml-sso.png)

6. In a new browser tab, log in to OneLogin.

7. Click **Administration**.

8. Click **Applications**.

9. Click **Add App**.

10. Search for `OpenId Connect` and select the **OpenId Connect (OIDC)** app.

11. Enter a name and click **Save**.

12. In the **Configuration** tab, paste the **Databricks Redirect URL** from step 5. You can choose to configure the other settings or you can leave them to their default values.

13. In the **SSO** tab, copy the copy the **client ID**, **client secret**, and **issuer URL** values.
    * **Client ID** is the unique identifier for the Databricks application you created in OneLogin.
    * **Client secret** is a secret or password generated for the Databricks application that you created. It is used to authorize Databricks with your identity provider.
    * **Issuer URL** is the URL where you can find OneLogin's OpenID Configuration Document. That OpenID Configuration Document must found be in `{issuer-url}/.well-known/openid-configuration`.

      Remove the `/.well-known/openid-configuration` ending from the URL. You can specify query parameters by appending them to the issuer URL, for example `{issuer-url}?appid=123`.

14. Return to the SSO configuration dialog in the Databricks account console and enter the values you copied from the identity provider application in the **Client ID**, **Client secret**, and **OpenID issuer URL** fields.

15. Optionally, enter a **Username claim** if you want to use a claim other than `email` as users' Databricks usernames. See your identity provider's documentation for specific information on claim values.

    ![Single sign-on tab when all values have been entered](https://docs.databricks.com/gcp/en/images/sso/oidc-sso.png)

16. On the **Enable SSO** step, click **Enable SSO**. Databricks saves the configuration in a disabled state and runs a connection test. You are redirected to complete a sign-in with OneLogin. If the test succeeds, SSO is enabled automatically. If the test fails, Databricks reports that it couldn't validate the configuration. Review the values you entered and try again.

17. After SSO is enabled, to create user accounts the first time a user signs in, enable just-in-time (JIT) provisioning using the **Create new identities during first-time signup** toggle in the next-steps card. See [Automatically provision users (JIT)](https://docs.databricks.com/gcp/en/security/auth/jit.md).

For detailed post-setup testing guidance, including workspace login testing, see [Test your SSO configuration](https://docs.databricks.com/gcp/en/security/auth/single-sign-on/index.md#test-your-sso-configuration).

### SAML 2.0

1. As an account admin, log in to the [account console](https://accounts.gcp.databricks.com) and click **Security**.

2. Click the **Identity provider setup** tab.

3. In the **Authentication** section, configure single sign-on to open the SSO configuration dialog.

4. On the **Add details** step, under **Identity protocol**, select **SAML 2.0**.

5. Make note of the **Databricks Redirect URL** value.

6. In a new browser tab, log in to OneLogin.

7. Click **Administration**.

8. Click **Applications**.

9. Click **Add App**.

10. Search for **SAML Custom Connector (Advanced)** and click the result by OneLogin, Inc.

11. Set **Display Name** to **Databricks**.

12. Click **Save**. The application's **Info** tab loads.

13. Click **Configuration**.

14. In **Gather required information**, set each of the following fields to the Databricks SAML URL:
    * Audience
    * Recipient
    * ACS (Consumer) URL Validator
    * ACS (Consumer) URL
    * Single Logout URL
    * Login URL

15. Set **SAML signature element to Both**.

16. Click **Parameters**.

17. Set **Credentials are** to **Configured by admins and shared by all users**.

18. Click **Email**. Set the value to email and enable **Include in SAML Assertion**.

19. Click the **SSO** tab.

20. Copy the following values:
    * x.509 certificate
    * Issuer URL
    * SAML 2.0 endpoint (HTTP)

21. Verify that **SAML signature element** is set to **Response** or **Both**.

22. Verify that **Encrypt assertion** is disabled.

23. Return to the SSO configuration dialog in the Databricks account console and enter the values you copied from OneLogin:
    * **Single Sign-On URL**: The OneLogin **SAML 2.0 endpoint (HTTP)**
    * **Identity Provider Entity ID**: The OneLogin **Issuer URL**
    * **x.509 Certificate**: The OneLogin x.509 certificate, including the markers for the beginning and ending of the certificate

24. On the **Enable SSO** step, click **Enable SSO**. Databricks saves the configuration in a disabled state and runs a connection test. You are redirected to complete a sign-in with OneLogin. If the test succeeds, SSO is enabled automatically. If the test fails, Databricks reports that it couldn't validate the configuration. Review the values you entered and try again.

25. After SSO is enabled, to create user accounts the first time a user signs in, enable just-in-time (JIT) provisioning using the **Create new identities during first-time signup** toggle in the next-steps card. See [Automatically provision users (JIT)](https://docs.databricks.com/gcp/en/security/auth/jit.md).

For detailed post-setup testing guidance, including workspace login testing, see [Test your SSO configuration](https://docs.databricks.com/gcp/en/security/auth/single-sign-on/index.md#test-your-sso-configuration).

## Add users to Databricks

After you configure SSO, add users to your account. Databricks recommends syncing users from your identity provider using automatic identity management, which syncs users and groups automatically from your identity provider to your Databricks account. See [Configure Microsoft Entra ID for automatic identity management](https://docs.databricks.com/gcp/en/admin/users-groups/automatic-identity-management/ms-entra-id.md). Alternatively, if your identity provider does not support automatic identity management, you can configure SCIM provisioning. See [Sync users and groups from your identity provider using SCIM](https://docs.databricks.com/gcp/en/admin/users-groups/scim/index.md).

Just-in-time (JIT) provisioning, which automatically adds users to Databricks when they first log in using SSO, is on by default for accounts created after February 2, 2026. See [Automatically provision users (JIT)](https://docs.databricks.com/gcp/en/security/auth/jit.md).
