How to Configure Single Sign-On with PingOne

For the security of your SaaS-based infrastructure and the convenience of users in your organisation, 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:

  1. Identity Provider configuration, done within your SSO system (in this article we use PingOne)

  2. Service Provider configuration, which is done within ThousandEyes using one of the following options (the last two are normally easier and quicker to use):

    • Static Configuration: requires manual settings of the parameters.

    • Imported Metadata Configuration: a metadata file is used to configure the parameters.

    • Dynamic Configuration: a URL is used to configure the parameters.

Prerequisites

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, PingOne)

Identity Provider Configuration

  1. Log in to the PingOne Admin Console, and go to the Application Catalog tab of the Applications page.

  2. Search for "Thousand Eyes" and click on the logo to expand the details.

  1. Click the Setup button to open the configuration panel.

  2. If you want to use ThousandEyes Static Configuration, click on the Download button to save the Signing Certificate on your local drive.

  1. Again, only in case of ThousandEyes Static Configuration, copy the value of the idpid field of the query string, found at the end of the Initiate Single Sign-On (SSO) URL. Copy the string starting after the '=' character (see image below as example)

    NOTE: the idpid is a unique identifier generated when the ThousandEyes application is added. If the ThousandEyes application is removed from the PingOne and re-added, the idpid will change, and require you to reconfigure per these steps). Append the idpid string to this URL: https://sso.connect.pingidentity.com/sso/idp/SSO.saml2?idpid=

    An example of a complete URL: https://sso.connect.pingidentity.com/sso/idp/SSO.saml2?idpid=de8e56ff-fdb1-4a22-8963-fbcff6952a89

  1. At the bottom of the page click on Continue to Next Step to display the connection details:

  1. Click the Continue to Next Step button to display the attribute mapping.

  1. Click the Continue to Next Step button to display the application customization:

  1. Click the Save & Publish button to review the configuration: if you are using the Imported Metadata Configuration, download the SAML Metadata file.

  1. Click Finish to complete the application setup.

  2. Go to the Users > User Groups tab and click on the Edit button of the Users@directory group name.

  1. Check the ThousandEyes (SSO) check-box and click the Save button.

  2. Go to Dashboard and click the Your PingOne dock URL link.

  1. The ThousandEyes application should be available in the dashboard when you go to your PingOne dock URL page:

  1. To add new users to the Single Sign-On, go to the Users page in PingIdentity and click Add Users. The new user can be "created" by filling out all the information or "invited" by providing only the email address.

ThousandEyes Static Configuration

Follow these steps to configure your ThousandEyes organization to use single sign-on:

  1. Log into ThousandEyes using an account with a role that has the Edit security & authentication settings permission.

  2. Open the Account Settings page and click the Security & Authentication tab.

  3. In the Setup Single Sign-On section, check the Enable Single Sign-On box.

  4. Click the Static Configuration button.

  5. Configure the Setup Single Sign-On fields according to the settings below and click the Save button.

  6. To test the configuration use the instructions provided in a section below.

Field

Value

Login Page URL

Use the URL created at Step-5 of the Identity Provider configuration section.

Logout Page URL

https://app.thousandeyes.com/login/sso

Identity Provider Issuer

https://pingone.com/idp/thousandeyes

Service Provider Issuer

https://www.thousandeyes.com

Verification Certificate

Use the certificate file downloaded at Step-4 of the Identity Provider configuration section.

IMPORTANT: Ensure that the Service Provider Issuer field matches the "service provider entityId" provided by PingOne. 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.

ThousandEyes Imported Metadata Configuration

Follow these steps to configure your ThousandEyes organization to use single sign-on:

  1. Log into ThousandEyes using an account with a role that has the Edit security & authentication settings permission.

  2. Open the Account Settings page and click the Security & Authentication tab.

  3. Check the Enable Single Sign-On box.

  4. Click the Imported Metadata Configuration button.

  5. Click the Import File button and upload the Metadata XML File downloaded at Step-9 of the Identity Provider configuration section. The configuration section should populate with the SSO parameters (see screenshot below).

  6. Click the Save button.

  7. To test the configuration use the instructions provided here.

ThousandEyes Dynamic Configuration

Currently, PingOne does not support dynamic configuration, so the most automated way to configure SSO is using the Imported Metadata Configuration option.

Test the Configuration in PingIdentity

  1. Log out of ThousandEyes.

  2. Go to Dashboard and click the Your PingOne dock URL:

  1. Click the ThousandEyes logo, you should automatically login into ThousandEyes.

Test the Configuration in ThousandEyes

  1. In the ThousandEyes Security & Authentication tab, click the Run Single Sign-On Test button. This button is present in all the configuration types (Static, Imported Metadata and Dynamic), but it only needs to be checked once for the selected configuration.

  1. If the SSO is configured properly, you should get a message indicating success, as shown in this screenshot:

Logging in Using SSO

  1. To log in to ThousandEyes, go to https://app.thousandeyes.com and click the Single Sign-On link.

  1. Input the SSO-enabled email address, and click the Log In button.

  2. When the PingOne authorization page appears, enter your email and password, and press the Sign On button, you should automatically log into ThousandEyes.

  1. Alternatively, users can access the ThousandEyes application through the user's PingOne dashboard. Please refer to the "Test the configuration in PingIdentity" section presented above.

Metadata Details for Troubleshooting

If your single sign-on login fails, verify that certain SAML settings are configured as below:

  • Request Compression: Yes

  • Assertion: Unsigned

  • Response: Signed

  • AuthnContextClassRef: PasswordProtectedTransport

  • AudienceRestriction: http://www.thousandeyes.com/

    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

  • Role: User

  • AssertionConsumerServiceURL: https://app.thousandeyes.com/login/sso/acs