Client Creation and Configuration
An additional OIDC client is required so that the appSphere functions correctly. Client creation and configuration can be done as follows:
The following page allows OAuth2 Properties, SMART Scopes and Client Permissions to be set by entering required details or via the toggle switch. Ensure the following are assigned for the respective configurable sections.
OAuth2 Properties
/
the end of the URL is important.** IMPORTANT NOTE **
Ensure that the name entered for the Context Path field while configuring the appSphere module (see Getting Started) is correctly reflected in the Authorized Redirect URLs (for console and portal).
SMART Scopes
WARNING: Whether you use the EHR launch feature or not, the fields 'Scopes' and 'Auto-Approve Scopes' need to be added to launch/practitioner scopes and auto-approve scopes of the appSphere OIDC client, otherwise appSphere will break causing an error logging in.
Client Permissions
Toggle to “Yes” for the following permissions:
Under “Client Permissions”, each ID can be selected to get more information about a given role or permission.
After the required configurations have been set, click “Create” at the top of the page to be redirected to the “OpenID Connect Clients” page. In the “OpenID Connect Clients” page, a confirmation message will be displayed for the client created.
In the "Clients" table, the newly added client will be listed with the option to select “Edit” to make changes to the previously set OAuth2 Properties, SMART Scopes, and Client Permissions.