# OneLogin SSO

This guide provides step-by-step instructions on setting up Bitrise as a SAML application on [OneLogin](https://www.onelogin.com/).

:::caution[SAML SSO restrictions]

SAML SSO is only available on select plans. Contact our support to find out if SAML SSO is available on your Workspace's plan.

Since the SAML SSO feature is tied to the above plans, if you decide to downgrade to a free plan, you will lose this feature. All Workspace members will receive an email about the downgrade, and you’ll have two weeks to re-upgrade if you wish to use SAML SSO in your Workspace again.

:::

Before connecting SAML SSO to your Workspace:

- Make sure the administrator to OneLogin is at hand while setting up SAML SSO connection on Bitrise.
- - Be aware that only the Workspace owner can set up SAML SSO to a Bitrise Workspace.
- Your account on Bitrise has a Workspace with one of our [paid plans](https://bitrise.io/pricing).

To configure Bitrise on OneLogin:

1. Log into [OneLogin](https://www.onelogin.com/) as an Administrator.
1. Click **Administration** on the top bar.

   ![Setting_up_OneLogin_SSO_for_Bitrise.png](/img/_paligo/uuid-e05bd9fd-2b96-f6dd-9d2b-b3ad8ba5510e.png)
1. Select **Applications** and click **Add App**. This will take you to the **Find Applications** page.

   ![Setting_up_OneLogin_SSO_for_Bitrise.png](/img/_paligo/uuid-90d0f8f9-8de5-2c9c-f8e7-2279dc5d48ef.png)
1. Type `Bitrise` in the search bar and select the **SAML2.0** type from the search results.

   ![Setting_up_OneLogin_SSO_for_Bitrise.jpg](/img/_paligo/uuid-ba3b2ff2-116c-1ae2-0e8d-72c0e73826ee.jpg)
1. Click the **Configuration** tab on the left sidebar. You can change the icon and add descriptions if you wish. Make sure **Organization (Bitrise)** is ticked. Hit **Save**.

   ![Setting_up_OneLogin_SSO_for_Bitrise.jpg](/img/_paligo/uuid-97037eee-6e35-4a1f-1e4e-a252c78b2317.jpg)
1. Click the **Configuration** tab again and paste the **Assertion Consumer Service URL (ACS URL)** from your Bitrise Workspace’s **Single Sign-On** tab to the **Single Sign-On URL** field on OneLogin. Hit **Save** in **OneLogin**.

   ![Setting_up_OneLogin_SSO_for_Bitrise.jpg](/img/_paligo/uuid-74f65dc6-6662-db11-e97a-9ba3d039cea9.jpg)
1. Select **SSO** on the left sidebar.
1. Click the **View details** for the X.509 Certificate. Copy the content of the **X.509 Certificate** and paste it to the **SAML SSO provider certificate** field on the **Enable Single Sign-On** page of Bitrise.
1. Go back to the **SSO** page on OneLogin and copy the **SAML 2.0 Endpoint (HTTP)** link. Paste it in the **SAML SSO provider Single Sign-On URL (SSO URL)** field on Bitrise.
1. Go back to Bitrise and click **Configure SSO**.

:::important[Users on OneLogin and Bitrise]

Make sure the users in your Bitrise Workspace are all added to the **Users** page on OneLogin. If not, go to **Users**, then **New User** and add the new user. Don’t forget to send out an invite (**More actions** drop-down menu, **Send Invitation**) to a new user so that the user can activate their account on OneLogin. Users must be added to the newly created Bitrise app by clicking **Applications** under **User Info** and clicking the **+** sign. Make sure the added users are all Workspace members on Bitrise.

![application-onelogin.jpg](/img/_paligo/uuid-f6505a6f-5c4e-7cf1-8a81-f8325898b1be.jpg)

:::

If you’ve completed setting up Bitrise on OneLogin and connected it with your Bitrise Workspace, then all Workspace members will get an email from Bitrise which contains a link to activate their SSO connection to the Bitrise Workspace.
