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
Namefield, enter a name for your cluster. - Choose
Regular Web Applicationas the application type. - Select
Create. - Copy the
Domainsomewhere, you will need it later. - Copy the
Client IDsomewhere, you will need it later. - Copy the
Client Secretsomewhere, you will need it later. - For the
Allowed Callback URLsfield, enter the URL of the cluster and the URL for Swagger : Likehttps://localhost/neos/Northwind/signin-oidc. - For the
Allowed Logout URLsfield, 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 IDof the cluster resource.[CLIENT_SECRET]by theClient Secretof the cluster resource.