Okta telephony - Generate authentication secret using API explorer

There are two methods for implementing basic authentication to generate the authentication secret for the HTTP header needed for the Telesign Okta telephony inline hook. The standard method involves using UTF-8 encoding and Base64 encoding. If you prefer a simpler, quicker method, you can use our API explorer that is used in our reference pages to automatically generate the authentication secret for you.

Before you begin

Make sure you have the following before you start:

  • Authentication credentials: Your Customer ID and API Key. If you need help finding these items, go to the see the support article How do I find my Customer ID and API Key?
  • A reference page: Any reference page in the Telesign developer docs such as this page. (It does not matter which page you chose.)

Steps

  1. Locate your Customer ID and API Key.
FFFFFFFF-EEEE-DDDD-1234-AB1234567890
ABC12345yusumoN6BYsBVkh+yRJ5czgsnCehZaOYldPJdmFh6NeX8kunZ2zU1YWaUw/0wV6xfw==

 
  1. Open a reference page. (It does not matter which page you chose).
  2. Under the AUTHORIZATION header in the right panel of the page, put your Customer ID in the Customer ID field and your API key in the API Key field.
  3. Locate the line of code which starts with --header 'authorization: in the "Try it" box on the right side of the page. Copy the string including the word Basic and the space after it. Do not include any backticks. This is the Client Token.
A screenshot of the API explorer with a callout around the client token.

Client token in the API explorer

  1. Paste the string as the "Authentication secret" value into the Okta console as directed in Okta Telephony - Telesign no-code inline hook.