bitrise.io

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 Velocity and Enterprise Build plan

Please note that SAML SSO is only available for a Workspace with the Enterprise Build and Velocity plans.

Since the SAML SSO feature is tied to the above plans, if you decide to downgrade, 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 you start

Setting up Idaptive SAML SSO for Bitrise

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

  1. On your Bitrise Dashboard click your avatar, then click Profile settings in the dropdown. Account selector dropdown
  2. The Overview page displays all the Workspaces you’re a member of. Select the Workspace 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. You can also upload the file.

    Setting up Idaptive SAML SSO for Bitrise

  7. Insert the content or upload the file itself 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 Workspace owner has set up SAML SSO, everyone in the Workspacehas to authorize SAML SSO before logging in to their Workspace 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 Workspace members. By clicking the Log In via SAML SSO button or using the provided URL, Workspace members can authorize themselves for SAML SSO login. The email also shows the Workspace 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 “Workspace name” to sign you in page.
    • Click Authorize if you trust the Workspace 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 Workspaces

      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: