The following applies if you are using a version of the software before Update 23. For the latest information, see Configure the application server Web.config file.
-
Locate the SmartPlant Foundation server Web.config file. For example:
C:\SmartPlant Foundation Server Files\Web_Sites\[SPFServer]\Web.config
-
Edit the Web.config file and add the audience, issuer, service id and scope values.
The settings are found in the Settings tab as shown in the following example:
Option
Detail
issuer
https://dev597594.oktapreviewcom/oauth2/ausg0871hp0DCijdr0h7
requiredScopes
ingr.api
id
71FC520E-78DA-4EA7-96C1-164EA13FD5DO
secret
""
instance
""
The following image shows an example of a Web.config file:
You can also configure the web.config file using the Server Manager command line.
The following example demonstrates how to configure the settings shown above:
SPFServerManager.exe /update /sn:SPF2016 /oauthissuerurl:https://dev597594.oktapreviewcom/oauth2/ausg0871hp0DCijdr0h7 /applicationid:71FC520E-78DA-4EA7-96C1-164EA13FD5D /allowcredentials:true /secret:””