#
Auth0
Curiosity supports Single Sign-On using Auth0.
#
Prerequisites
You will need the following information from your Auth0 Management Console:
- Auth0 Domain
- Authorization Server Name (optional, depending on your Auth0 setup)
- Client ID
- Client Secret
#
Configuration Steps
#
1. Create an Auth0 Application
- Log in to your Auth0 Management Console.
- Navigate to Applications > Applications and click Create Application.
- Enter a name (e.g., "Curiosity SSO") and select Regular Web Applications, then click Create.
- Go to the Settings tab.
- Set the Allowed Callback URLs:
{domain}/api/auth0sso/completed-login-attempt - Set the Allowed Web Origins to your Curiosity instance domain.
- Scroll to the bottom and click Save Changes.
- Note down the Domain, Client ID, and Client Secret.
#
2. Enter Details in Curiosity
- In Curiosity, navigate to Manage > Settings > Accounts > Single Sign-On.
- Select Auth0.
- Enter the Domain, Authorization Server Name (if applicable), Client ID, and Client Secret.
- Click Save.
#
Troubleshooting
- Invalid Domain or Client ID: Errors will appear immediately upon redirection to Auth0.
- Invalid Client Secret: Login succeeds on Auth0, but fails upon returning to Curiosity.
- Redirect URI Mismatch: Ensure the callback URL in Auth0 matches your workspace URL exactly.