This guide provides step-by-step instructions on setting up Bitrise as a SAML application on Okta.
- an Okta administrator who is logged into Okta
- a Bitrise Organization owner who is logged into his/her Bitrise Organization (with Org Elite subscription)
Adding Bitrise to Okta ⚓
Bitrise is not an integrated app in Okta. You have to add Bitrise manually to Okta first, then you can configure SAML SSO on it.
We will be jumping back and forth from the Bitrise Organization account to Okta so make sure both pages are available. In practice this means the Organization owner should be logged into Bitrise and the Okta admin should be logged into Okta.
Log into Okta and click Admin.
On your Dashboard click Add Applications under Shortcuts.
Click the green Create New App button.
The Create a New Application Integration screen is displayed.
Select SAML 2.0 option at Sing on method and click Create.
At General Settings step, type Bitrise into the App name field. (Optionally, you can add an app logo if you wish.) Click Next.
- Head over to your Bitrise Organization and click the Single Sign On tab on the left menu.
Click the Copy Link button to copy the Single Sign-On URL.
- Head back to Okta’s SAML Settings and paste the copied URL to the Single sign on URL input field.
Type Bitrise at the Audience URI (SP Entity ID).
You can download the Okta certificate file now and paste its content in the Certificate field on your Bitrise Organization’s Single Sign On page. Even easier if you leave it for later as you will need the Identity provider sign-on URL from Okta anyway. You will fetch this while configuring Bitrise as a SAML app.
- Click Next.
- Fill out the Feedback section. Hit Finish.
Congrats! Bitrise has been successfully added to Okta as an app.
Configuring Bitrise as a SAML app ⚓
Click the Assignments tab of your Bitrise app.
Here you can assign Bitrise to individuals/groups. Make sure you assign Bitrise to all org members who will access the Bitrise Organization through SAML.
Click the Sign-On tab of your Bitrise app. You will see that SAML setup is not completed yet. Click View Setup Instructions.
The How to Configure SAML 2.0 for Bitrise application page is displayed. It summarizes all the information you need to set up the SAML connection between Bitrise and Okta.
Copy the Identity Provider Single Sign-On URL and paste it in your Bitrise Organization’s Identity provider sign-on URL.
If you haven’t pasted the Certificate into the respective field of your Bitrise Organization yet, you can do so now as it is displayed on this page.
Click Configure SSO on your Bitrise Organization.
Enabling SAML SSO on Bitrise ⚓
Once SAML SSO has been set up, all Organization members (including the org owner) must enable their SAML SSO connection to the respective org to use SAML SSO as a login method.
- Make sure you’re logged into Bitrise in the usual way. Use the same browser window to continue.
Bitrise sends a verification e-mail to all Organization members. This email contains a Sign In via SSO button and a URL. Organization members are prompted to sign in to Bitrise by clicking the Sign In via SSO button or using the provided URL.
The email also shows the Organization owner’s email address (should you need to contact him/her.) Click the Sign In via SSO button or copy-paste the URL to a NEW TAB of the same browser.
Below error message only appears if you’ve been trying to access the Authorization page in a Safari browser.
Error: The CORS policy for this site does not allow access from the specified Origin....
As a workaround, we suggest you to copy the URL and paste it in a new tab. It will work! For all other browser types, you should be safely landing to the Authorization page.
- On the Allow “Organization name” to sign you in window, click Authorize if you trust the Organization.
If all went well, you should be on your Bitrise Dashboard. If you go to the Groups tab the Organization, you can see that you are automatically added as a SAML user. All Organization members, who enable SAML SSO, appear here automatically.
Please note that at this stage, SAML SSO has not been enforced as the only gateway to the Bitrise Organization. You can only enforce it if all org members have completed the above steps. You can check each org member’s status (enabled or disabled) if you click the Review Users button on the org’s Single Sign-On tab.
Enforcing SAML SSO on the Organization ⚓
To be able to sign into Bitrise exclusively via SAML SSO, you have to enforce SAML on the Organization. Mind you! You can only enforce SAML SSO on the org, if all Organization members have enabled their SAML SSO connection.
- Toggle the Enforce SAML SSO switch to the right on the Single Sign On tab of the Organization.
- Click Save Changes.
From now on, Organization members will be able to log in exclusively via SAML SSO.
Organization members can log into or sign up to Bitrise using their own SAML SSO provider's system. With SAML SSO, organizations will be able to apply the security guidelines of...
Learn how to set up Bitrise as a SAML SSO app on Google, enable SAML SSO and enforce it on your Bitrise Organization.
Learn how to set up Bitrise as a SAML SSO app on Azure AD, enable SAML SSO and enforce it on your Bitrise Organization.