GitHub

Setting up Idaptive SAML SSO for Bitrise

Published at 2020-09-25

This guide provides step-by-step instructions on setting up Bitrise as a SAML application on Idaptive.

SAML SSO with Org Elite and Velocity plans

Please note that SAML SSO is only available for an Org with the Org Elite and Velocity plans. If you try to set up SAML SSO to an Org that has an Org Standard subscription, the Single Sign-On tab will appear on the left menu bar in your Account Settings but you won’t be able to use it. Click Upgrade to Org Elite in the pop-up window to use SAML SSO in your Org.

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

Before you start

Setting up Idaptive SAML SSO for Bitrise

If you are an Org owner on Bitrise, you will have to use the Single Sign-On tab to set up a SAML SSO connection between your Idaptive and your Bitrise Org.

  1. On your Bitrise Dashboard click your avatar, then click Account settings in the dropdown.
  2. The Overview page displays all the Org you’re a member of. Select the Org where you wish to set up the SAML SSO connection.
  3. On the left menu bar, click the Single Sign-On which will take you to the Enable Single Sign-On page.
  4. Continue with Getting configuration information from Idaptive.

Getting configuration information from Idaptive

  1. Log into Idaptive as an Admin.
  2. Go to Apps, then to Web Apps. Click the Add Web Apps button on the right.Setting up Idaptive SAML SSO for Bitrise
  3. On the Custom tab and select SAML, and click Add. On the Add Web App popup hit Yes. Close the window. You will be automatically directed to the Settings page.

    Setting up Idaptive SAML SSO for Bitrise

  4. Add Bitrise to the Name and Application ID fields on the Settings page and click Save.

    Setting up Idaptive SAML SSO for Bitrise

    Setting up Idaptive SAML SSO for Bitrise

  5. Click Trust on the left menu bar and select the Manual configuration under Identity Provider Configuration.
  6. Click the Signing Certificate dropdown and download the certificate. Open it with a text editor so that you can copy the full content of the certificate.

    Setting up Idaptive SAML SSO for Bitrise

  7. Insert it in the SAML SSO provider certificate text box on the Enable Single Sign-On page of Bitrise.
  8. Copy the Single Sign On URL from the Trust page of Idaptive. Insert it on the SAML SSO provider Single Sing-On URL (SSO URL) field on the Enable Single Sign-On page of Bitrise.
  9. While on the Single Sign-On page of Bitrise, copy the Assertion Consumer Service URL (ACS URL) URL and click Configure SSO.
  10. Now let’s head back to Idaptive! Under Service Provider Configuration click Manual Configuration. Type Bitrise in the SP Entity ID / Issuer / Audience and paste the Assertion Consumer Service URL (ACS URL) from Bitrise to the Assertion Consumer Service (ACS) URL on Idaptive.

    Setting up Idaptive SAML SSO for Bitrise

  11. Scroll down to NameID Format and select emailAddress. Click Save.

    Setting up Idaptive SAML SSO for Bitrise

  12. Go to Permissions and click the Add button. In the Select User, Group, or Role popup, type the user name you want to add to the SAML app. Select it and hit Add. Save your changes. This will change the status of your Bitrise SAML app to Deployed.

    Setting up Idaptive SAML SSO for Bitrise

  13. Continue with Authorizing SAML SSO.

Authorizing SAML SSO

Now that the Org owner has set up SAML SSO, everyone in the Org has to authorize SAML SSO before logging in to their Org via SAML SSO.

  1. Make sure you’re logged into Bitrise in the usual way. Use the same browser window to continue.
  2. Bitrise sends a verification e-mail to all Org members. By clicking the Log In via SAML SSO button or using the provided URL, organization members can authorize themselves for SAML SSO login. The email also shows the Org owner’s email address (in case you would need to contact them.) Click the Log In via SAML SSO button or copy-paste the URL to a NEW TAB of the same browser.
  3. You’re directed to Bitrise to Allow “Organization name” to sign you in page.
    • Click Authorize if you trust the Organization to control your Bitrise account sign-in process.
      If you’re already logged in Idaptive, you’ll be automatically taken to your Bitrise Dashboard.
      If you’re not, you’ll be prompted to log into Idaptive, and then taken to your Bitrise Dashboard.
    • Click Don’t Allow if the invitation email is from an untrusted source.

      SAML SSO in Organizations

      Note that if you are using a different non-matching email address, you will get the below error message. Make sure you log in with the right email address both on Bitrise, as well as on your SSO provider site.

If all went well, you should be landing on our Bitrise Dashboard.

What’s next?

Learn how you can: