How can I set up a URL with my company name or my website name in it

How do I set up a URL with my website or through my website using your company #hallucinationsinwonder.land

Hi @riverraveentertainme

Welcome to the Auth0 Community!

I understand that you are looking to setup a URL pointing to your website on your Auth0 tenant.

Setting up a custom URL (e.g., login.yourwebsite.com instead of your default yourtenant.auth0.com) is done by configuring a Custom Domain in Auth0. This masks your default tenant domain so that your users enjoy a seamless, fully branded login experience.

Official Solution

Here is a step-by-step guide on how to configure this on your website :

Prerequisites & Session Considerations

  • Billing Info Required: To prevent fraud, Auth0 requires that your tenant has a valid credit card on file before adding a custom domain. If you are on the Free plan, you still receive one free custom domain, and your card will not be charged.

  • Session Reset: Be aware that once you switch your application over to your new custom domain, all active user sessions will be invalidated, meaning your users will need to log back in.

Step 1: Add the Custom Domain in the Auth0 Dashboard

  1. Log in to your Auth0 Dashboard;

  2. Navigate to Branding > Custom Domains;

  3. Enter your desired subdomain (e.g., login.yourwebsite.com or auth.yourwebsite.com);

  4. Choose your Certificate Type:

    • Auth0-Managed Certificates (Recommended): Auth0 handles SSL/TLS certificate creation, validation, and automated renewal every three months .
    • Self-Managed Certificates: Best for Enterprise clients who prefer to terminate SSL traffic through their own reverse proxy (like AWS CloudFront or Cloudflare) .
  5. Click Add Domain .

Step 2: Configure Your DNS Provider

Once you submit the domain in Auth0, the dashboard will provide you with DNS records that you must add to your domain registrar (e.g., GoDaddy, Namecheap, Squarespace) .

  • For Auth0-Managed Certificates: Create a CNAME record :

    • Type: CNAME;
    • Host/Name: login (or whichever subdomain prefix you chose);
    • Value/Target: Copy the verification string provided by Auth0 (usually ends in .edge.tenants.auth0.com).
  • For Self-Managed Certificates: Create a TXT record with the verification values supplied in the dashboard .

Note: DNS propagation typically takes 10 to 30 minutes, though in rare cases it can take up to 48 hours .

Step 3: Verify the Domain in Auth0

  1. Go back to your Auth0 Dashboard > Branding > Custom Domains .

  2. Click the Verify button next to your domain .

  3. Once successfully verified, your custom domain status will update to Active.

Step 4: Update Your Application Code & Auth0 Settings

Simply registering the custom domain does not route traffic automatically; you must update your settings :

  1. Update SDK Configuration: In your application code where you initialize the Auth0 SDK, update your domain parameter from yourtenant.auth0.com to your new custom domain login.yourwebsite.com;

  2. Update Allowed URLs: In your Auth0 Dashboard, go to Applications > [Your Application] > Settings. Ensure your Allowed Callback URLs, Allowed Logout URLs, and Allowed Web Origins (CORS) include the new custom domain;

  3. Social Login Providers: If you are using Social Logins (Google, Facebook, etc.), you must replace Auth0’s development keys with your own developer credentials on those platforms. Update the callback/redirect URLs in your Social Provider’s console (e.g., Google Cloud Console) to point to your new custom domain.

We hope this information helped you correctly setup a custom domain/URL on your Auth0 tenant.

Kind Regards,
Nik