Step 1: Add the INI file CloudSetting.ini to the Files preloaded in uncompressed format section in the Application page.
Step 2: Select RESTClient Support under the Runtime files group in the Application page > Advanced tab.
Step 3: Select Use external auth service in the Security page.
Select Use external auth service from the Auth Template list box, view the license terms, and select the "I have read and agree to the license..." option.
Step 4: Save the changes and then deploy the PowerServer project again (using the "Build & Deploy Project" option).
The PowerServer C# solution > UserExtensions project provides templates for configuring the address of the identity provider like Okta OIDC.
-
Authentication.json contains the settings for enabling the authentication feature ("PowerServer:EnableAuthentication") and specifying the address of the authentication server ("Authentication:Authority"). The PowerServer Web APIs will validate the token against the authentication server; and if validation is successful, data will be obtained from the database.
The "PowerServer:EnableAuthentication" setting is set to true by default. Setting it to false will turn off the authentication feature.
The "Authentication:Authority" setting is for specifying the Issuer URI of authorization server. See the next section for more details.