Auth0
To set up a single sign-on through Auth0, go to the Auth0 portal.
Step 1 : Register the cluster
- Under
Applications > Applications
, selectCreate Application
. - For the
Name
field, enter a name for your cluster. - Choose
Regular Web Application
as the application type. - Select
Create
. - Copy the
Domain
somewhere, you will need it later. - Copy the
Client ID
somewhere, you will need it later. - Copy the
Client Secret
somewhere, you will need it later. - For the
Allowed Callback URLs
field, enter the URL of the cluster and the URL for Swagger : Likehttps://localhost/neos/Northwind/signin-oidc
. - For the
Allowed Logout URLs
field, enter the URL of the cluster : Likehttps://localhost/neos/Northwind/signin-oidc
. - Select
Save changes
.
Step 3 : Configure the authentication in the cluster configuration
In the cluster configuration file, you will have to fill in the following configuration by replacing the corresponding tags:
Authentication:
Preset: Auth0
Authority: https://[DOMAIN]
ClientId: [CLIENT_ID]
ClientSecret: [CLIENT_SECRET]
Replace :
[DOMAIN]
by theDomain
.[CLIENT_ID]
by theClient ID
of the cluster resource.[CLIENT_SECRET]
by theClient Secret
of the cluster resource.