The user with admin privilege can add the below listed configuration details in the SRD service Web.Config file.
The Client Secret should be empty in OKTA.
-
Type the Authentication Server Issuer URL in OAuthIssuer.
-
Type the Redirect URI.
-
Type the Client ID which you have received while registering with OKTA.
-
Type the Smart API Service Id/Scope from OKTA.
The value for scope (openid email offline_access) is always constant.
-
Type the SRDAPI Server and Virtual Directory that you configured.
See the sample configuration details below:
<add key="OAuthIssuer" value="https://<server_url>/oauth2/auste2e0q8SGDcc1W0x6"/>
<add key="RedirectURI" value="https://<application_server_name>.<domain_name>/<SRD_Service_Virtual_directory>/TestHTMLAccess.htm"/>
<add key="ClientId" value="0oatc6m0s2BEapLCL0x6"/>
<add key="ClientSecret" value=""/>
<add key="Scope" value="openid email offline_access"/>
<add key="SRDAPI" value="https://<application_server_url>/SRDWEBAPI/srd/v2"/>