Environment variable AUTH0_DOMAIN is used in auth.config.js but its value was not set: Vercel
I am scratching my head here attempting to deploy using Vercel and Next.js
my auth.config.js file looks like this
and i have the following configuration in the Vercel projects environment variables:

4 Replies
and this is the error log from vercel

Ah, the process.env used in auth.config.js pulls env variables from the Convex environment variables (
npx convex dashboard
)
It's so you can have separate prod & dev configurations authenticated by Convex, vs. the vercel variables which determine what your client knows about.@mc@edgevanta try setting these in the convex environment variables for your prod deployment and let us know if that clears things up
worked like a charm!! i was working with the new convex preview environments and added the needed environment variables in the default environment variables section of the project settings. and now im able to log into a separate auth0 tenant. thank you !