Subscribe

UiPath Test Suite

UiPath Test Suite

Authentication

Overview


The authentication framework provides access to Test Manager through service-to-service (S2S) and access tokens issued by the Identity Server.

Requirements

To authenticate to your Test Manager single-tenant application using S2S authentication, you need to complete the following:

  • Install Orchestrator.
  • Install Test Manager.
  • Ensure you have at least one testing robot license
  • Ensure you have a test automation license

Conditions

  • The tenant is provisioned the first time you access the service.
  • Orchestrator administrators are provisioned with Test Manager administrator accounts.
  • License validation is checked at authentication time.
  • Requesting, enabling and disabling authorization through API is not possible.

Single-tenancy


For single-tenancy, the connection between Test Manager and Orchestrator is done through the user account credentials.

  1. Open your browser and enter the Test Manager URL in the address bar.
  2. Enter your username and password.

📘

Note

The tenant is set to Default, as this is the preset value used during the Test Manager installation process. If you are logging in using a different tenant, click Change and fill in your tenant name.

  1. Click Log in.

Multi-tenancy


For multi-tenancy, the authentication is done through the user account credentials, the same as for single-tenancy, however, the authorization is done through OAuth. For more information, see Authorization Methods.

Troubleshooting multi-tenancy issues

Authorization error

You might receive an authorization error when attempting to log in using a tenant that is different from the default one.

Requirements

Solution

To address this issue follow these steps:

Step 1 - Enable Identity Server S2S integration for Orchestrator

  1. Navigate to C:\Program Files (x86)\UiPath\Orchestrator and open the UiPath.Orchestrator.dll.config file to modify Orchestrator settings.
  2. Set IdentityServer.S2SIntegration.Enabled to True and then save the file.

Step 2 - Set default authentication method for Test Manager

  1. Navigate to C:\Program Files (x86)\UiPath\TestManager and open the appsettings.production.json file to modify Test Manager settings.
  2. Set AuthenticationMethod to ClientCredentialsFlow and then save the file.

:grey-exclamation: Restart both Test Manager and Orchestrator after these changes.

Updated 23 days ago


Authentication


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.