59.139    Sessions 59.141    Two Factor Authentication   

59.146.1Smile Portal

 

The Smile Portal configuration category includes the following configurable options:

  • Custom Application Configuration (File)

  • Custom Application Configuration (Text)

  • OIDC Client ID

  • OIDC Issuer URL

  • OIDC Logout URL

  • OIDC scopes

59.146.2Property: Custom Application Configuration (File)

 
Property Name Custom Application Configuration (File)
Property Key
Property Type Resource Path
Description The applications that will be accessible in Smile portal. If both Custom Application Configuration (Text) and this property value are present, the file will be used.
Applies to Modules
Default Value (no default)
Example Property
module.[MODULE_ID].config.app_config.file = classpath:/example/portal-apps.json

59.146.3Property: Custom Application Configuration (Text)

 
Property Name Custom Application Configuration (Text)
Property Key
Property Type JSON
Description The applications that will be accessible in Smile portal. This value will be ignored if both it and Custom Application Configuration (File) are present.
Applies to Modules
Default Value { "apps": [], "apis": [] }
Example Property
module.[MODULE_ID].config.app_config.text = {
	"apps": [
		{
			"label": "PA admin module 1",
			"group": "Group A",
			"url": "https://host/pa-admin1"
		},
		{
			"label": "Custom module 2",
			"group": "Group B",
			"url": "https://host/pa-admin2"
		}
	],
	"apis": [
		{
			"label": "PA admin module 3",
			"group": "Prior Auth",
			"appType": "PRIOR_AUTH",
			"additionalParameters": {
				"fhirRepo": "https://host/pa-admin3"
			}
		},
		{
			"label": "Custom module 4",
			"group": "Group C",
			"appType": "ANOTHER_APP",
			"additionalParameters": {
				"key": "value"
			}
		}
	]
}

59.146.4Property: OIDC Client ID

 
Property Name OIDC Client ID
Property Key
Property Type STRING
Description The Client ID registered with the OIDC server used for login.
Applies to Modules
Default Value smile_portal
Example Property
module.[MODULE_ID].config.oidc_client_id = smile_portal

59.146.5Property: OIDC Issuer URL

 
Property Name OIDC Issuer URL
Property Key
Property Type STRING
Description The Issuer URL for the OIDC server used for login.
Applies to Modules
Default Value http://localhost:9200/smartauth
Example Property
module.[MODULE_ID].config.oidc_issuer_url = http://localhost:9200/smartauth

59.146.6Property: OIDC Logout URL

 
Property Name OIDC Logout URL
Property Key
Property Type STRING
Description The URL to call at logout to end the user's session.
Applies to Modules
Default Value http://localhost:9200/smartauth/logout?cb=none&revoke=token&revoke=token_refresh
Example Property
module.[MODULE_ID].config.oidc_logout_url = http://localhost:9200/smartauth/logout?cb=none&revoke=token&revoke=token_refresh

59.146.7Property: OIDC scopes

 
Property Name OIDC scopes
Property Key
Property Type STRING
Description The scopes for this app to request to the OIDC server at login.
Applies to Modules
Default Value profile offline_access launch/patient launch/practitioner openid cdr_all_user_authorities
Example Property
module.[MODULE_ID].config.oidc_scopes = profile offline_access launch/patient launch/practitioner openid cdr_all_user_authorities
   59.139    Sessions 59.141    Two Factor Authentication