Generating token for third party

Last Updated : Nov 15, 2021 |
Prolog information
Use this procedure to generate a token for metrics report request authentication. Send the generated token to third parties for verification.
Before you begin
Ensure that you have administrative access with Security Admin role permissions to the System Manager web console.
  1. Log in to the System Manager web console.
  2. Navigate to ElementsCluster Administration.
  3. In the Service URL column of the desired cluster, click Presence Services Admin.
    STEP RESULT:
    The system displays the Avaya Aura® Presence Services login page in a new tab.
  4. Log in using the same credentials as the System Manager web console.
  5. Click Metrics API Configuration.
  6. In the Token Generation section, enter the passphrase to generate the token.
  7. Click Generate Token to get the Authentication Token.
  8. Send the generated Authentication Token to the third party.
    ADDITIONAL INFORMATION:
    Note:
    Once the third party receives the Authentication Token, they perform the following steps:
    1. Compute a hash using SHA-256.
    2. Encode it using base64.
    3. The third party then sends an Authentication Token in the header along with the authentication request.
    For example,
    • Token = Rh2POynHk4OVTNd03ych3Zu1t9QX/tNVtzbKs6g5DYc=
    • bytes[] hash = hash token using SHA-256
    • AuthToken = base64.encode(hash)
    • The Authentication Token(AuthToken) for above token = xC3ViUkmOaBGj3VJzH7c22wKXWY/zirvMSIrHB/eWOY=