Aguiarti
Aguiarti4d ago

Convex + Clerk not working in production.

I don't know what else I can try, I can see that when creating an account with clerk a new user is added to my table, but if I check if user is logged in I have no data coming back. It only happens in production but I can't figure out what it's happening.. Maybe an env. variable? Everything seems to be set correctly in Vercel, my auth.config.ts is also taking into account production environment but that's not working at all.. Any ideas?
3 Replies
Convex Bot
Convex Bot4d 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!
erquhart
erquhart17h ago
When you say "check if user is logged in", can you give more info on what you're doing and the result you're getting? Any code you can share would help.
ballingt
ballingt17h ago
It sounds a bit like you might not be getting the webhooks events, did you set up webhooks to your prod convex deployment?

Did you find this page helpful?