kebinnnnnK
Convex Community2y ago
5 replies
kebinnnnn

Auth is working in development but getting an error after deploying on Vercel

Getting
Uncaught Error: Missing environment variable JWT_PRIVATE_KEY

Should I be setting up this env variable before it can work on production? Following the convex-auth docs I assumed it would be alright out of the box. Appreciate any advice or help, thanks in advance!

I did try generating a jwt private key and then repeatedly got this error:
Uncaught Error: Missing environment variable JWKS
. Wasn't really sure what I was doing at this point.
Was this page helpful?