Personal Access Tokens

Personal Access Tokens are alternative passwords that you can use to authenticate into ATS Global products.

To generate Personal Access token:

1.       1. Sign in to ATS Global products

2.       2. Click on Settings (gear icon) option in the user options menu

 

 

3.       3. Settings page loads with pre-selected Personal Access Token

4.       4. Click on Add button that is on top right corner.

 

 

 

5. 5. Provide Token name and expiration and click on Save

 

 

6.       6. After successful Token creation copy the generated token.

 

To generate Authentication token from Personal Access token

  1. After successful creation of Personal Access Token use that token to generate Authentication token

  2. Use any tool for making HTTP Requests like Postman

  3. There is endpoint on Security API to generate Authentication token http://xxxxxxxxxxxxxxx/api/personalaccesstoken/getAuthenticationToken

  4. Use method GET to create the token

  5. Add HTTP Header with key personalAccessToken  and value from the Personal Access Token.

  6. Execute the request and in response body you should have Data where the Authentication token is generated.
    {
        "Data""xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "ErrorMessage""",
        "ErrorParameters"null,
        "ResponseCode"1,
        "GetErrorParameters"""
    }

  7. You can use the generated token to Authenticate into ATS Api’s with Authorization Header Bearer

 

 

Revoke Personal Access Tokens to remove access

When you don’t need your token anymore, remove it to remove access.

  1. Sign in to ATS GLOBAL product.

  2. Click on Settings (gear icon) option in the user options menu

  3. Settings page loads with pre-selected Personal Access Token

  4. Select  on any Personal Access Token with status active, and click on Revoke from the context menu.

  5. Pop up with confirmation is shown with Yes and Cancel option.

  6. Click on Yes

  7. Success message for revoked token Is shown.

Regenerate your Personal Access Token

  1. Sign in to ATS GLOBAL product.

  2. Click on Settings (gear icon) option in the user options menu

  3. Settings page loads with pre-selected Personal Access Token

  4. Select the personal access token with Active status ,and click on Regenerate from the context menu.

  5. Pop up with confirmation is shown with Yes and Cancel option.

  6. Click on Yes

  7. New token blade is opened with the regenerated token

  8. Copy the token

 

Can this topic be improved? Send us your comments .