For the security of your SaaS-based infrastructure and the convenience of users in your organization, the ThousandEyes service offers login via single sign-on (SSO). ThousandEyes supports SAML2-based identity providers for single sign-on. There are two steps to set up single sign-on: the service provider configuration, which is done within ThousandEyes, and the identity provider configuration, done within your SSO system. In this configuration example, we use OneLogin as the identity provider.
Configuration is normally simple. Here's what you need:
ThousandEyes account assigned a role with the Edit security & authentication settings permission
A SAML2 authentication provider (in this example, OneLogin)
Follow these steps to configure your ThousandEyes organisation to use single sign-on:
Log into ThousandEyes using an account with a role that has the Edit security & authentication settings permission
Open the Settings > Accounts page and click the Security & Authentication tab
Check the Enable Single Sign-On box
Configure the Setup Single Sign-On fields according to the following settings and click the Save button:
Login Page URL
Logout Page URL
Optional, see below
Identity Provider Issuer
Service Provider Issuer
The certificate downloaded from Step 5 in the Identity Provider configuration section below
IMPORTANT: Ensure that the Service Provider Issuer field reflects the value set by the identity provider in the AudienceRestriction element of the SAML response. Any mismatch, including a protocol mismatch (http vs https) will cause the request to be rejected.
NOTE: The Logout Page URL is optional. If used, the URL should point to the page you wish your users to see when logging out of ThousandEyes.
Log in to the OneLogin Admin Console, and go to the Apps > Add Apps section
Search for "ThousandEyes" and click on the search result
Edit the Display Name (if desired) and click the Save button
Go to the SSO tab and click the View Details link
Click on the Download button to save the certificate in "X.509 PEM" format on your local drive.
Log in to ThousandEyes and go to the Security and Authentication tab of the Account Settings > Organization Settings page
In the Setup Single Sign-On section, click the Browse button to select and upload the certificate
Click the Save button to save the settings
Log out of ThousandEyes
Log in to the OneLogin Admin Console
Click on the ThousandEyes icon
You should automatically login into ThousandEyes
If you are not using the same username in ThousandEyes and OneLogin, you need to:
Click on the ThousandEyes application
Go to the Users tab:
Click on the User and edit the Username to match the one that you use in ThousandEyes (typically you need to use the email address but stripping out the "@<domain>". This can also be configured in Apps > Company Apps > ThousandEyes App > Parameters.
Click the Save button
To log in to ThousandEyes, go to https://app.thousandeyes.com and click the SSO link
Enter the SSO-enabled email address, and click the Log In link
When the OneLogin authorization page appears, enter your email address and password, and press the Log In button:
You should be automatically logged into ThousandEyes
Alternatively, users can access the ThousandEyes application through the user's OneLogin dashboard. Please refer to the "Test the configuration" section presented above.
If your single sign-on login fails, verify that certain SAML settings are configured as below:
Request Compression: Yes
Note: The AudienceRestriction element generated by your identity provider's configuration must match exactly the value set for the Service Provider Issuer field in ThousandEyes. Any mismatch, including a protocol mismatch (http vs https) will cause the request to be rejected.
NameID Format: emailAddress