--- title: "Configure SAML SSO with OneLogin in Gainsight" slug: "configure-saml-sso-with-onelogin-in-gainsight" updated: 2026-11-23T12:30:38Z published: 2026-11-23T12:30:38Z canonical: "support.gainsight.com/configure-saml-sso-with-onelogin-in-gainsight" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure SAML SSO with OneLogin in Gainsight The article explains how admins can set up Single Sign-On (SSO) for Gainsight applications using OneLogin. ## Overview Configure Single Sign-On (SSO) with OneLogin to give users secure, centralized access to Gainsight. Once authenticated in OneLogin, users can seamlessly access all authorized Gainsight applications without needing to log in separately to each one. ## Prerequisites To successfully configure SAML-based Single Sign-On (SSO), both the OneLogin and Gainsight administrators must create and configure the SAML application in their respective platforms: - **OneLogin Administrator**: Set up the SAML application in the OneLogin portal. - **Gainsight Administrator**: Mirror the configuration by creating the corresponding SAML app within the Gainsight platform. ## Set up SAML SSO in OneLogin Follow the steps below to set up SSO in OneLogin: 1. Sign in to OneLogin and click **Administration**. The *Administration* page appears. 2. Click the **Applications tab**, then select **Applications** from the dropdown menu. The **Applications** page appears. ![OneLogin dashboard with the Applications menu expanded and the “Applications” option highlighted.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/1.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=SB8kNZSyx%2F%2B%2FOakqT6i%2FRt3g2H%2BhJaUoNKCPA7ICmDw%3D) 3. Click **Add App**. The **Find Applications** page appears. ![Applications page showing existing apps and the “Add App” button highlighted for creating a new application.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(3).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=B4lpd5lEsMFYmAr48vQDRgtJHJ%2BG9w8O4z1h2BBDJy4%3D) 4. In the *Search Box*, enter **SAML Custom Connector (Advanced)** and select the result. The **Configuration** page appears. ![Search results showing the “SAML Custom Connector (Advanced)” application highlighted in OneLogin.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(4).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=O5aY9O%2FU58Aac21xaLTAZwbGtv9h4DWstdM6WGMUB7E%3D) 5. Enter a **Display Name** for the application. 6. Click **Save**. ![AML Custom Connector setup screen showing the Display Name field and the Save button highlighted.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(5).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=sOSJ40O5hGqZ1nGrccrW1AgDr4uUtXIrO8tQUWLbAZ8%3D) 7. From the left pane, click **SSO**. The **Enable SAML2.0** page appears. ![SAML Custom Connector settings page with the SSO tab highlighted in the left menu and display name options shown.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(6).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=LoCIJH3yAfNZ%2FFPZ0Y35buNqk22PbsBrPkl1mJDzeFo%3D) 8. Under **SAM 2.0 Endpoint(HTTP),** click the *Copy to Clipboard* icon. ![SSO configuration screen showing SAML 2.0 settings, certificate details, and copy icons next to SAML endpoints.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(7).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=lTz7k%2B0dKcZQLp6Y%2FMffximRtPxh0XP%2BmbcvthhykGM%3D) **Note**: Save the copied endpoint for later use in Gainsight. 9. Click **View Details**, scroll down, and click **Download**. To download the X.509 PEM certificate. ![Certificate details page showing the X.509 certificate content with a highlighted Download button.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(8).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=hfkfmh6vMg6gZrskBhTnKbEK41lTElI%2FKrV%2BBf4fzDs%3D) **Note**: By default, the X.509 PEM is selected; ensure this remains the same. 10. Click **Certificates** at the top. The **Info** page appears. ![Certificate details page showing key length, SHA fingerprint, and breadcrumb link to the Certificates list highlighted.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(9).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=pmpVkaDmOy9MqVlWuFe3jPwgFOYaJEB1JxXeFpNjKTg%3D) 11. From the left navigation pane, click **Parameters**. The **Parameters** page appears. 12. Click the *Plus* icon to create a new field. The *New Field* dialog box appears. ![Parameters page of the SAML Custom Connector showing credential options and a highlighted plus icon to add a new parameter.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(10).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=bk24KhgJY92lveZqgI30nEJG4yP0ZW%2BwSEeXJw4fdcM%3D) 13. Enter the *Field Name* as **Username.** 14. Click **Save**. The **Edit Field Username** page appears. 15. On the **Edit Field Username** dialog box, provide the following details: - Set **Value** to **Email.** - Select the **Include in SAML assertion** checkbox. ![Edit Field Username screen showing the value set to Email and the ‘Include in SAML assertion’ option checked.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(11).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=fFrAKsqR%2F6CUef5u6S05D%2BKz3kWM3Yb4GL1mFBy70Z8%3D) 16. Click **Save**. ## Setting up SAML in Gainsight Follow the steps below to set up SAML in Gainsight: 1. Sign in to Gainsight and navigate to **Administration** **> Users and Permissions > User Management**. The **User Management** page appears. 2. Click the **Authentication tab**. ![User Management page showing user list and the “Authentication” tab highlighted in the top navigation.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(12).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=7Xj9D6LQ8KVXP9cUadSVbJxS4VOHeq7ULpV0YnvZp7k%3D) 3. From the **Add Authentication** dropdown menu, select **SAML**. The **SAML Mechanism** dialog box appears. ![The drop down is displayed and show SAM option](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=ebEvwOpJwPduo8%2BVGn90Jaz2pNpa16JaDD1gU09vxek%3D) 4. In the **SAML Mechanism** dialog box, provide the following details: - **Name**: Enter a descriptive name for the app. For example: *OneloginSSO.* - **Email Domain**: Enter your organisation's domain. - **Sign In URL**: Paste the *SAML 2.0 Endpoint(HTTP)* URL copied from OneLogin. - **Certificate**: Upload the X.059 file downloaded from OneLogin. ![SAML Mechanism setup form showing fields for domain, sign-in URL, certificate upload, and username field mapping.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(13).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=6n9ffTrTZIDHbJC4Z0KPLEiv4AazPfaDMWyb9k3gtGQ%3D) 5. Click **Save**. The newly added connection appears in the Connections list. ![The newly added connection displays](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(16).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=wft7GgdVHk%2FFNHjKXi3EBkrgHQDNv4E4E4uyVo03Mlk%3D) 6. Click the three vertical lines next to the newly added Connection, and select **Edit**. The *SAML Mechanism* dialog box appears. ![Authentication connections list with the options menu open for OneLoginSSO and the Edit option highlighted.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(14).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=XO%2BhxBU480fxF0qazNwRKpHLr%2Fym137%2Bm%2FViUnTqXA0%3D) 7. Click **Download** to download the metadata XML**.** ![](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/pasted-image-76ab1a8620dec56f.jpeg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=IBa%2B6TKdR1C48ryGAbxjDvIOW2v54L6tqJCUvA41b14%3D) 8. Extract the AssertionConsumerService Location and Entity ID from the downloaded XML file. Open the XML file and locate the following: - **AssertionConsumerService** Location: This is the content in quotations for the location in line 27 from the example image below. ![XML block is displayed](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(1).png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=eu0Dmhp%2B%2Bb9JmGUI9WNbT34nvo2i6ja3pKNZ38BOhp8%3D) - **Entity ID:** Find the Entity ID at the top of the file. It is the blurred-out section from the example image below. ![XML code is displayed with blurred Entity ID](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(2).png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=yt6qBU2%2F%2FefYDfrYFZdBKnXv6AEgIYxf%2BVjiTQV2dew%3D) ## Finalize OneLogin Configuration Complete the OneLogin configuration by updating the application with values from the Gainsight metadata. Follow the steps below to configure the OneLogin page: 1. Navigate to the **OneLogin Application setup**. 2. In the left navigation pane, click **Configuration**. 3. On the Configuration page, enter the following values from the Gainsight XML: - **Audience (EntityID)**: Enter the **Entity ID.** - **ACS (Consumer) URL Validator**: Enter the **AssertionConsumerService Location URL** value. - **ACS (Consumer) URL:** Enter the same **ACS (Consumer) URL Validator** (the **AssertionConsumerService > Location URL**). ![The image show configuration tab in OneLogin](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/unnamed_(17).jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A11%3A07Z&se=2026-11-24T20%3A11%3A07Z&sr=b&sp=r&sig=6RlJIfHqP%2FxIuadG2FcZKydkpSrM16tQs65oZFuKjaM%3D) 4. Click **Save**. The SSO Login setup is complete. Assign users to the newly created OneLogin application to enable access to Gainsight.