Having trouble setting up convex
So I've already done the Quickstart. I'm currently using React with Convex. I made sure to add a variable into my environment however i'm still running into this error:
Hit an error while pushing:
Environment variable CLERK_JWT_ISSUER_DOMAIN is used in auth.config.js but its value was not set
at <anonymous> (../convex/auth.config.js:6:21)
note: I made sure to declare CLERK_JWT_ISSUER_DOMAIN in my env.local file and name it in my convex dashboard with the development key.
i don't have Clerk set up tho if that's the problem
5 Replies
Ok update I set up Clerk and I put the publishable key in the variable CLERK_JWT_ISSUER_DOMAIN
I honestly feel that the setup can be a bit clearer. Or maybe i'm slow lol

Hey @senior potato , the JWT Issuer domain goes into
CLERK_JWT_ISSUER_DOMAIN
, while the publishable key goes into import.meta.env.VITE_CLERK_PUBLISHABLE_KEY
(or similar) in .env.local
The setup is definitely cumbersome, we'll work on smoothing it out!Convex Clerk | Convex Developer Hub
Clerk is an authentication platform providing login via
The one in auth.config.js is often an env variable referencing what you set in the convex dashboard
Not in local .env* files