6 Replies
Did you add your auth token to env vars?
Do you mean this vars?

Using Convex with Vercel | Convex Developer Hub
Host your frontend on Vercel and your backend on Convex.
yeah, have to set
CONVEX_DEPLOY_KEY
Yeap, everything up to date.
While I am using Clerk development vars working goods, but in production mode getting error.
That's all I fix it.
Thanks, the problem was auth.config.js file while set domain property. We should set it without proccess.env
sg - glad it's working!
for the next one let's put it in #support-community so folks can easily search for it in case someone else sees the same thing
Just as a heads up @Devit and others: one reason to use it as process.env is so you can use a different domain in production and in dev. Your Clerk configuration is probably a development-only config. If you use it production, it'll stop working once you hit 500 users (believe me, I ran into this accidentally recently). So by doing process.env you can configure it differently in dashboard.convex.dev project settings for each environment differently
For preview deploys you can set a "default env var"