Set up SSO with Auth0
This guide explains how to set up single sign-on features (SSO) with Auth0
Last updated
Was this helpful?
This guide explains how to set up single sign-on features (SSO) with Auth0
Last updated
Was this helpful?
This guide expands .
To create an application:
Login to the Auth0
Open the Applications
page
Press the Create Application
button
Give the name of the application
Choose the type of application. Consider, Native type
Press the Create
button
After the app is created add the details:
Application callback URLs: http://localhost:8888/tenant/my-clinic/patient/auth/callback/?
Press the Save Changes
button
Open the Advanced settings
of the application and copy:
OAuth Authorization URL
OAuth Token URL
OAuth User Info URL
To create a new user:
Open the Users
page
Press the Create User
button
Provide email and password
Press the Create
button
Copy the user_id
. It looks like auth0|6310e2d143b66b669906d775
It's important to provide the system
attribute
identifier
contains the link to the Auth0 user
fhirUser
links the user to the Patient
Open the link https://f81a-5-161-99-84.ngrok.io/tenant/my-clinic/patient/portal
in the Invisible (Stealth) mode
Click the Sign In
link
Enter email
and password
of the user, we created in the Auth0
Press the Login
button
On the SMARTbox page Applications
Press the Launch
button against the Growth Chart application
Press the Allow
button on the consent screen
Get the Growth Chart works
As the administrator of the Portal create an Tenant
resource. Please, see for more details.
The user should be linked to a Patient to be able to launch SMART Apps. And at the same time, it should be related to the Auth0 user. Please, see for more details.