-
Log in to the server where the API service is installed as an administrator.
-
Navigate to <API_Installed_Folder>\Web\API and open the web.config file.
-
Set the oauth issuer as follows:
<oauth issuer="https://{OKTA URL}/oauth2/{authorizationServerId}" requiredScopes=""/>
You can find the OAuth issuer URl from the OKTA Server. To find it, go to Security > API > Your Authorization Server > Settings > Issuer.
-
Set the service ID as follows:
<service prefix="smartapi/V1" id="ACF67EA8-98B3-4EBE-9AC2-4BD860D2B354"
The ID is the GUID that is generated during Add an Authorization server.