BrowserStack SSO with Okta | SAML

Integrate your Okta directory with BrowserStack to set up Single Sign-on

Introduction

Okta’s integration with BrowserStack enables end-users to enable Single Sign-on for their BrowserStack account. Single Sign-on integrates an external user directory with your BrowserStack Group. This document describes how to configure Single Sign-on when Okta is your identity provider.

Prerequisites

To set-up and use BrowserStack’s Okta Single Sign-on (SSO) feature:

  • You need to have an Enterprise plan with BrowserStack.
  • To access the configuration/set-up on BrowserStack, you need to be Owner for your BrowserStack Group.
  • You need to have administrator access on your organization’s Okta instance.

Supported features

The Okta & BrowserStack Single Sign-on integration currently supports the following features:

  • SP-initiated SSO
  • IdP-initiated SSO
  • Group Assignment via Groups on Okta

For more information on the listed features, visit the Okta Glossary.

Configuration Steps

A. SSO Setup Page

  1. Sign-In to BrowserStack account as Owner.

  2. Go to Account -> Settings & Permissions page and select the Security tab. Go to Account and click on Settings & Permissions and select the Security tab. Under Single Sign On (SSO), click Configure

B. Initiate the set-up on BrowserStack

  1. Under Single Sign On (SSO), click Configure.

  2. On the next screen, you will be shown all the Authentication services that BrowserStack supports, select SAML 2.0, and click Next SAML 2.0 Authentication

  3. Choose Okta from the list of Identity Providers, and click Next. List of Identity providers

  4. Copy the IDP initiated ACS URL. Keep this for next steps. Okta Initiate setup copy IDP initiated ACS URL

  5. For the next steps you will need the following details, which you will get from Okta (in the next steps):
    a. Sign-in URL
    b. Public Certificate

C. Initiate the set-up on Okta

Adding BrowserStack application on Okta

  1. Go to Applications on Okta
  2. Add New Application
  3. Find BrowserStack, select the one with SAML. Find browserStack app under applications on okta and add it to your okta tenant
  4. Click Add Add browserstack to Okta
  5. Give this application an Application Label
    • Keep Do not display application icon to users unselected if you want to use IdP initiated SSO flow
    • Click Done Giving Application Label for Browserstack Application on Okta

Configuring BrowserStack application on Okta

  1. Go to Sign on tab -> Click Edit.

  2. Paste the IDP initiated the ACS URL (copied at Step 4 in the previous section above) in ACS Tenant text field. Select Email under Application username format field. Paste the ACS URL in ACS Tenant and select Email under Application username format
  3. Click on View Setup Instructions. Click on view setup instructions button
  4. Copy the following, for submitting on BrowserStack:
    • Sign in URL Sign in Url
    • Copy Public Certificate (Please copy only the certificate, and ignore the begin and end comments). Copying Public Certificate from Okta App
    • Provision the app for BrowserStack Group Owner. Will be used to test the set-up before enabling Single Sign-on
  5. Paste the above values on BrowserStack configurations page:
    • Sign in URL in Sign-in URL text filed.
    • Copy Public Certificate. Please copy only the certificate part and ignore the begin and end comments. Paste the above values on browserstack
  6. Click Next.
  7. Select update profile option as per your choice. SSO Update profile preference

Test & Enable

Note: Before you test and enable Single Sign-On, you need to assign BrowserStack appication to Owner (of BrowserStack account) email address. You can assign by visiting Assignments tab on Okta.
  1. Click Test Setup to test the BrowserStack and Okta SSO integration. Test the integration via Test Setup

  2. You will be prompted towards SP-Initiated flow and your user account will be authenticated via Okta. The test is successful upon completion of the SSO Authentication flow.

  3. Upon a successful test, you can enable the Single Sign-on feature for your Organization, by following the steps below:
    • You have the option of sending out a mail to all your team members on BrowserStack, to inform them about this change.
    • Click Enable to enable the feature. Click on Enable button to enable the Single Sign-on feature
  4. You will automatically be logged out of the BrowserStack, and redirected to log-in via SSO.

Troubleshooting

Error while testing (Type 1)

The BrowserStack/Okta configuration for this Group has been saved by a different application. Resolution: Please make sure that the correct configuration is saved on Okta app. Error shown for misconfiguration

User Mismatch

The user provisioned on the Okta App does not have the same email as BrowserStack’s Group Owner. Resolution: Kindly make sure that the Okta’s provisioned user is the same as BrowserStack’s Group Owner. Make sure okta's provisioned user is same as browserstack's group owner

Internal Error

This is an internal error, please connect with Support/AE/SE team Error in Okta setup on Account setting page at BrowserStack

Incorrect ACS URL on Okta App

Resolution: Please check the ACS URL submitted on Okta Troubleshooting Incorrect ACS URL on Okta App

Note:
  1. User provisioning: Integrate Okta via SCIM to manage users. To configure, visit documentation.
  2. Please connect with support@browserstack.com for any escalations or support.

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert