# 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

  1. Log in to your Auth0 Management Console.
  2. Navigate to Applications > Applications and click Create Application.
  3. Enter a name (e.g., "Curiosity SSO") and select Regular Web Applications, then click Create.
  4. Go to the Settings tab.
  5. Set the Allowed Callback URLs: {domain}/api/auth0sso/completed-login-attempt
  6. Set the Allowed Web Origins to your Curiosity instance domain.
  7. Scroll to the bottom and click Save Changes.
  8. Note down the Domain, Client ID, and Client Secret.

# 2. Enter Details in Curiosity

  1. In Curiosity, navigate to Manage > Settings > Accounts > Single Sign-On.
  2. Select Auth0.
  3. Enter the Domain, Authorization Server Name (if applicable), Client ID, and Client Secret.
  4. 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.