The user with admin privilege can add the below listed configuration details in the Web.Config file.
-
Type the Authentication Server Issuer URL in OAuthIssuer.
-
Type the Redirect URI.
-
Type the Client ID which you have received while registering with SAM.
-
Type the Client secret from SAM.
-
Type the Smart API Service Id/Scope from SAM.
Scope is the service ID from SAM authentication server.
-
Type the SRDAPI Server and Virtual Directory that you configured.
See the sample configuration details below:
<add key="OAuthIssuer" value="https://<server_url>/sam/oauth/connect"/>
<add key="RedirectURI" value="https://<application_server_name>.<domain_name>/<Virtual_directory>/TestHTMLAccess.htm"/>
<add key="ClientId" value="SRDOAuthClient"/>
<add key="ClientSecret" value="SRDClient@123"/>
<add key="Scope" value="15397BC2-7CC2-4129-ADF6-FA31FADB43A2"/>
<add key="SRDAPI" value="https://<application_server_url>/SRDWebAPI/Srd/V2"/>