Auth0
Set up single sign-on with Auth0.
Before you start
- You need admin access to your Auth0 tenant.
- Vectis support completes the configuration on the Vectis side, so be ready to send them the details below.
Step 1: Create an application
Create a Regular Web Application
In the Auth0 Dashboard, go to Applications → Create Application and select Regular Web Applications.
Configure Settings
Set:
- Allowed Callback URLs:
https://<your Vectis address>/sso/callback - Allowed Logout URLs:
https://<your Vectis address>/login
- Allowed Callback URLs:
Note the credentials
Note the Domain, Client ID and Client Secret.
Step 2: Send the details to Vectis
Send Vectis support:
- Client ID and Client Secret from step 1.
- Issuer URL:
https://your-tenant.auth0.com - Domain: your organisation's email domain.
Step 3: Configure group claims (optional)
To include user roles or groups in the ID token:
In Auth0, go to Actions → Flows → Login.
Add a custom action:
jsexports.onExecutePostLogin = async (event, api) => { if (event.authorization) { api.idToken.setCustomClaim("groups", event.authorization.roles); } };Deploy the action.
Notes
- The Auth0 discovery endpoint is
https://your-tenant.auth0.com/.well-known/openid-configuration. - SCIM provisioning needs the Auth0 Enterprise plan and the SCIM extension.