How To Generate The Identity Token From API For Installing Insights And Test Manager ?

How to generate the Identity token from API for installing Insights and Test Manager ?

Step 1: Needs to the authentication for host account.

Endpoint: https://OrchestratorURL/api/Account/Authenticate

Method: POST

JSON:

{

"password": "admin@123",

"usernameOrEmailAddress": "admin",

"tenancyName": "host"

}

  • Post configuring the above details in the Postman, the bearer token will be received. Refer the below sample screenshot.

Step 2: Copy the bearer token for the future use


Step 3: Use the below API to generate the token from identity

Endpoint: https://orchestratorURL/identity/api/Account/ClientAccessToken

Method: Get

Header: Authorization = Bearer {please enter the bearer token from host authentication}