2. Find the Domain URL and Generate a Secret Token
You need the following details for the connection settings of the Enterprise application that
you create in Okta:
- The Identity Domain ID
- A secret token generated from the Client ID and Client secret.
Find the Identity Domain ID from the Domain URL:
- Return to the Identity Domain where you are configuring Okta provisioning.
- On the Identity Domain Details page, click Copy next to the Domain URL.
Make note of the Identity Domain ID from the Domain URL. For example, if your domain URL is https://idcs-123456.identity.oraclecloud.com:443, then your Identity Domain ID is idcs-123456.
Generate Secret Token:
- Click Integrated Applications.
- Click the confidential application you created for Okta provisioning.
- Click OAuth Configuration.
- Under General Information, copy the value next to Client ID and make a note of it.
- Under Client Secret, locate the three dots (ellipsis) next to Show secret and then select Copy. Make a note that this value is the Client Secret.
- The secret token is the base64 encoding of <clientID>:<clientsecret>.
In a Microsoft Windows environment, open Powershell and use thiscommand to generate the base64 encoded value:
[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(‘<client_id>:<clientsecret>’))In an Apple MacOS, use the following command in a terminal window:
echo -n <clientID>:<clientsecret> | base64Note:
Substitute the <clientID> and <clientsecret> in the command with the values noted in the previous steps. Ensure there are no blank spaces when entering the client ID and client secret values. -
Copy the value returned by the command and make a note of this value. This value is the Secret Token.