Using Custom domain with Universal login widget and Nextjs

Hello,

i’m using a regular web application using typescript and nextjs app-router with the @auth0/nextjs-auth0 sdk.

I choose Auth0 to get a fast and clean login flow with a B2C - Essentials plan.

I have a configured custom domain. This domain is verified, all good.
I started to customize the login template using the auth-cli.
I deployed my changes and i didnt get any result.
I started to check documentation and understand what’s going on.
I don’t have access to Auth0Lock, or auth0.WebAuth.

I tried several tricks like using initAuth0 with issuerBaseURL in the /api/auth/route.ts without result.

Can you explain the way to simply using custom domain with universal login, thx anyway.

I have removed all customization from the login page. I used the default login page without customization. Like it is specify in the documentation : you do not need to make any changes !
Configure Features to Use Custom Domains.
the AUTH0_ISSUER_BASE_URL need to be updated anyway, with the custom domain ?
im totally lost, please let me know how the things works together.
thx

The CNAM didn’t match the auth0.com url, on my configuration.
just set the AUTH0_ISSUER_BASE_URL with the custom domain.
I didn’t feel lost anymore.
thx

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.