Missing environment variable `JWT_PRIVATE_KEY`

Trying to log in with google or magic links i get this error. The error only happens in prod, dev is fine with both google and magic link. Though users gets created but the isAuthenticated is false.
No description
No description
No description
3 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Martha Lucr King Jr
I followed step 2 of this page https://labs.convex.dev/auth/setup/manual#configure-private-and-public-key now I'm getting Failed to authenticate: "Could not verify token claim", check your server auth config also the logs are different
Manual Setup - Convex Auth
Authentication library for your Convex backend
No description

Did you find this page helpful?