> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sevalla.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OneLogin SAML SSO

> Learn how to set up SAML SSO in Sevalla with OneLogin.

[OneLogin](https://www.onelogin.com/) is an Identity Provider (IdP) that enables secure single sign-on (SSO), allowing your company's users to access multiple applications with one login.

With Security Assertion Markup Language (SAML) SSO, employees sign in once using their company credentials (typically email and password). The IdP, such as OneLogin, verifies their identity and grants seamless, secure access to all connected services, without requiring separate logins for each application.

Company owners or IT administrators can link their organization’s email domain (e.g., @[mycompany.com](http://mycompany.com)) to the IdP so that anyone with a company email address is automatically recognized and can securely sign in to SAML-enabled tools.

Using Sevalla SAML SSO, you can connect OneLogin to Sevalla by creating a SAML application within OneLogin, verifying your company’s email domain, and adding the required OneLogin details in Sevalla. This allows your team to log in with their existing company credentials, eliminating the need to create or manage separate Sevalla accounts.

<Info>
  When using SAML SSO with Sevalla, login must always be initiated from Sevalla. Logging in directly from your Identity Provider (IdP) is not supported.

  IdPs only support one active session per browser. If you have multiple Google Workspace accounts and are logged into one, attempting to log into another through Sevalla will result in an error. To switch accounts, log out of Google Workspace or use your browser’s Incognito/Private mode.
</Info>

## Enable SSO in Sevalla

When you set up SAML SSO, you can navigate away from the SSO setup at any stage to store your progress and return later.

In Sevalla, go to your **Company settings** > **Single sign-on**, and click **Enable**.

<Frame caption="Enable SSO in Sevalla.">
  <img className="block dark:hidden" alt="Enable SSO" src="https://mintcdn.com/sevalla/znhzGue4KWYN3uG0/images/enable-sso-light.png?fit=max&auto=format&n=znhzGue4KWYN3uG0&q=85&s=c398cd2b338da89076717091f38bedce" width="3374" height="1800" data-path="images/enable-sso-light.png" />

  <img className="hidden dark:block" alt="Enable SSO" src="https://mintcdn.com/sevalla/znhzGue4KWYN3uG0/images/enable-sso-dark.png?fit=max&auto=format&n=znhzGue4KWYN3uG0&q=85&s=d18cb436015197af6d85ab284e84c7bd" width="3370" height="1798" data-path="images/enable-sso-dark.png" />
</Frame>

Read through the introduction, which explains how SSO will be set up, and click **Continue**.

<Frame caption="Introduction to the steps required to set up SSO.">
  <img className="block dark:hidden" alt="Introduction to the steps required to set up SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-intro-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=8455fa4a6402a82184990f89d0d727c7" width="2564" height="1544" data-path="images/sso-intro-light.png" />

  <img className="hidden dark:block" alt="Introduction to the steps required to set up SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-intro-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=06df698980233807f30719682814092a" width="2570" height="1558" data-path="images/sso-intro-dark.png" />
</Frame>

The next page provides all the information you need to set up your SAML app within OneLogin.

## Set up the app integration in OneLogin

In Sevalla, the **Create SAML app** tab provides all the information you need to set up your SAML app within OneLogin. The following steps explain where to add this information.

<Warning>
  When using SAML SSO with Sevalla, all logins must be initiated directly from Sevalla. Logging in from your Identity Provider (IdP) dashboard is not supported. For this reason, you may want to hide the Sevalla app from users’ IdP dashboards to avoid confusion.
</Warning>

<Frame caption="Information to create the SAML app at your IdP.">
  <img className="block dark:hidden" alt="Information to create the SAML app at your IdP" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-create-app-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=3df84e52792cd16e9c73d651a51ce2e9" width="2568" height="2332" data-path="images/sso-create-app-light.png" />

  <img className="hidden dark:block" alt="Information to create the SAML app at your IdP" src="https://mintcdn.com/sevalla/E2LMVE0PTfkyQPVl/images/sso-create-app-dark.png?fit=max&auto=format&n=E2LMVE0PTfkyQPVl&q=85&s=7b57f5b0ec84b4ac11032677ad92e977" width="2572" height="2340" data-path="images/sso-create-app-dark.png" />
</Frame>

Log in to OneLogin as a user with admin access, and within **Administration**, click **Applications** > **Applications** > **Add App**.

<Frame caption="Add an application in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-add-app.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=495129577fb49b32c23c56280fe13ae3" alt="Onelogin Add App" width="2318" height="466" data-path="images/onelogin-add-app.png" />
</Frame>

Search for 'saml custom connector' and select **SAML Custom Connector (Advanced)**.

<Frame caption="Search for the SAML custom connector app in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-search-saml.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=c64b00e70a269355c001f0dceb3a1044" alt="Onelogin Search Saml" width="2316" height="690" data-path="images/onelogin-search-saml.png" />
</Frame>

In the Display Name, enter the **App name** from Sevalla. You can also download the **App icon** from Sevalla and upload this to the **Square Icon**, and add a **Description** if required. Click **Save**.

<Frame caption="Add the app name in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-app-name.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=df6efadba694a4e28d32b8dd5c5d0877" alt="Onelogin App Name" width="2252" height="1822" data-path="images/onelogin-app-name.png" />
</Frame>

Click **Configuration** and complete as follows:

* **Audience (EntityID):** Copy and paste the **Entity ID** from Sevalla.
* **Recipient:** Copy and paste the **SSO/ACS URL** from Sevalla.
* **ACS (Consumer) URL Validator:** Copy and paste the **SSO/ACS URL** from Sevalla.
* **ACS (Consumer) URL:** Copy and paste the **SSO/ACS URL** from Sevalla.
* **Login URL:** Copy and paste the **Start URL** from Sevalla.
* **SAML initiator:** Select **Service Provider**.
* **SAML nameID format:** Select **Email**.
* **SAML issuer type:** Select **Specific**.
* **SAML signature element:** Select **Assertion**.
* **Sign SLO Response:** Select this option.
* **Sign SLO Request:** Select this option.

Leave all other fields as default and click **Save**.

<Frame caption="Configuration of the SAML app in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-configuration.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=515249e3ab85c96241bc9082d465b1c1" alt="Onelogin Configuration" width="2204" height="4374" data-path="images/onelogin-configuration.png" />
</Frame>

Click **SSO**, and within **SAML Signature Algorithm** select **SHA-256**, and click **Save**.

<Frame caption="Change the SAML signature algorithm in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-sso-signature.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=d0f8e748fb052cabc95bcb5964378c34" alt="Onelogin Sso Signature" width="2262" height="888" data-path="images/onelogin-sso-signature.png" />
</Frame>

## Map your OneLogin attributes

Within OneLogin, you must map the firstName, lastName, and email attributes from Sevalla to the correct fields within OneLogin. For more information about how to do this, refer to the [OneLogin documentation](https://onelogin.service-now.com/support?id=kb_article\&sys_id=c1e4255a9758ea900f94b86ef053af1a\&kb_category=566ffd6887332910695f0f66cebb3556).

## Assign users to the OneLogin app

In OneLogin, you can assign a policy to the application to allow all users using the policy to log in to the app. Go to **Applications** > **Applications**, select the application you set up for the Sevalla Dashboard, click **Access**, choose the policy you want to assign, and click **Save**. For more information about security policies, refer to [OneLogin's documentation](https://onelogin.service-now.com/support?id=kb_article\&sys_id=1510ecd787dee610f7b8a7dd3fbb35d9\&kb_category=95c6573887772910763a0ed7dabb3538).

You can also assign individual users to the application. In OneLogin, click **Users** > **Users**, select the user you want to assign, click **Applications**, and click the plus icon.

<Frame caption="Add a user to an application in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-add-user-to-app.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=6b85e9e402c57484a4140eb211f9f4b6" alt="Onelogin Add User To App" width="2270" height="616" data-path="images/onelogin-add-user-to-app.png" />
</Frame>

From the **Select application** dropdown, select the Sevalla application, and click **Continue**.

<Frame caption="Assign an application to a user in OneLogin.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-assign-app-user.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=79c02feb32fdb6de5c2a0197a765c945" alt="Onelogin Assign App User" width="1144" height="642" data-path="images/onelogin-assign-app-user.png" />
</Frame>

Select **Allow the user to sign in**, ensure the credentials are correct, and click **Save**.

<Frame caption="Save the app allocation for the user.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-save-app-user-assign.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=0ded5b425683f916d57c25b196ebd333" alt="Onelogin Save App User Assign" width="1308" height="1290" data-path="images/onelogin-save-app-user-assign.png" />
</Frame>

To test authentication, make sure the Sevalla user account you’re signed in with is assigned.

## Sevalla setup

In Sevalla, on **Create SAML app**, click **Continue** so that you are on the **Sevalla setup** page.

### Email domain

In the **Domain name**, enter the email domain users will use to sign in using SAML SSO, and click **Add domain**.

Only Sevalla accounts with an email address matching the verified domain can authenticate via SAML. For example, if SAML is enabled for `example.com`, only users with an `@example.com` email address will be able to sign in for that company.

<Info>
  Each email address can only be linked to one SAML configuration in Sevalla. This means a domain (e.g., `example.com`) can be associated with only one company at a time. Similarly, each Sevalla user can use SAML authentication for a single company only.
</Info>

If the domain has already been verified in Sevalla through DNS management or as a site domain, it will automatically be verified. If it hasn’t, you’ll be prompted to add a TXT record to your DNS management service to confirm domain ownership.

<Frame caption="Add the TXT record to your DNS to verify ownership.">
  <img className="block dark:hidden" alt="Add the TXT record to your DNS to verify ownership" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-verify-domain-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=ac2d73377d2fa61df230882f43e8a3dd" width="1044" height="806" data-path="images/sso-verify-domain-light.png" />

  <img className="hidden dark:block" alt="Add the TXT record to your DNS to verify ownership" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-verify-domain-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=27431c552c5c8c7177aa1e39a53acb49" width="1052" height="814" data-path="images/sso-verify-domain-dark.png" />
</Frame>

Because DNS changes can take time to propagate, you can navigate away from the SSO setup to store your progress and return later.

#### Set up Sevalla SAML

In OneLogin, go to **Applications** > **Applications**, select the application you set up for the Sevalla Dashboard, and click **SSO**.

This page provides all the information you need to set up SAML in Sevalla.

<Frame caption="OneLogin SAML information for Sevalla setup.">
  <img src="https://mintcdn.com/sevalla/Qllh9lk8fm-U1_L-/images/onelogin-saml-details.png?fit=max&auto=format&n=Qllh9lk8fm-U1_L-&q=85&s=25e2f1510a39b146ce19991a80b4a1e0" alt="Onelogin Saml Details" width="2268" height="1436" data-path="images/onelogin-saml-details.png" />
</Frame>

In Sevalla, within the Single sign-on **Sevalla setup** tab, complete the fields as follows:

* **SSO URL:** Copy and paste the **SAML 2.0 Endpoint (HTTP)** from OneLogin.
* **Entity ID:** Copy and paste the **Issuer URL** from OneLogin.
* **Public certificate:** In OneLogin, on the **X.509 Certificate**, click **View Details**, copy and paste the contents of the **X.509 Certificate**.

<Warning>
  Certificates can expire, so you may need to update this in the future. Company Owners and Company Administrators will receive a notification three weeks prior to certificate expiration to ensure the certificate is updated in a timely manner.
</Warning>

Click **Continue**.

## Test the authentication in Sevalla

You cannot enable SAML SSO within Sevalla without first testing the authentication.

In Sevalla, within Single sign-on, click **Continue** until you are on the **Test and finish** tab, and click **Test authentication**.

A notification appears if the test was successful or if the test fails.

If the test fails, click **Back** and check your SAML settings within your IdP and within Sevalla.

If the test is successful and you want to enable SAML, click **Save and set SSO live**.

<Frame caption="Test your SSO setup and set SSO live.">
  <img className="block dark:hidden" alt="Test your SSO setup and set SSO live" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-test-finish-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=58ab5bb43e02dd0016359b323a5d94a1" width="2566" height="1410" data-path="images/sso-test-finish-light.png" />

  <img className="hidden dark:block" alt="Test your SSO setup and set SSO live" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-test-finish-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=847e7226d8a9e1c76a56dca41bf650b5" width="2572" height="1418" data-path="images/sso-test-finish-dark.png" />
</Frame>

Your Sevalla company users will now be able to sign in with SAML SSO or by entering their username and password. Users who sign in through an IdP are not required to complete Sevalla's 2FA, as authentication is handled directly by the IdP.

If you want to force users to sign on via SAML, you can enable Mandatory SSO and add Exceptions. You can also enable JIT provisioning to allow users authorized by your IdP to access your Sevalla company without requiring an invitation.

<Frame caption="Sign in to Sevalla with SAML SSO.">
  <img className="block dark:hidden" alt="Sign in to Sevalla with SAML SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-sign-in-light.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=96f246d159744eb57da7d122aa9a715e" width="790" height="1276" data-path="images/sso-sign-in-light.png" />

  <img className="hidden dark:block" alt="Sign in to Sevalla with SAML SSO" src="https://mintcdn.com/sevalla/qvdUBAuQue_4UYIa/images/sso-sign-in-dark.png?fit=max&auto=format&n=qvdUBAuQue_4UYIa&q=85&s=17186899f4184229d734993b4c54c76b" width="790" height="1274" data-path="images/sso-sign-in-dark.png" />
</Frame>

## Change the session duration

Your Identity Provider (IdP) determines how long your SSO session remains active and when it expires. If your IdP doesn’t specify a session duration, Sevalla defaults to a 24-hour session.

When your SSO session expires, you’ll be logged out of SSO. If you’re working within a company that uses SSO, you’ll be prompted to reauthenticate. If you have access to multiple companies in Sevalla, you’ll remain logged in overall but will need to reauthenticate before accessing any company that requires SSO.

For details on adjusting session duration, refer to the [OneLogin Knowledge Base](https://support.onelogin.com/kb/4271392/user-policies).
