gabrielw
gabrielw4mo ago

Clerk + Convex + TanStack Start setup

Hey all, might be a bit courageous here with this stack (seems like lots of moving parts on the Clerk side atm). I had the TanStack -> convex integration working nicely prior to adding Clerk. The error I am currently seeing is:
Error: @clerk/tanstack-react-start: Clerk: no secret key provided
Error: @clerk/tanstack-react-start: Clerk: no secret key provided
Have been unable to find working examples of these three parts, wondering if anyone has recommendations or has encountered this. My env vars are set in my .env.local file as
VITE_CLERK_PUBLISHABLE_KEY
VITE_CLERK_PUBLISHABLE_KEY
and
CLERK_SECRET_KEY
CLERK_SECRET_KEY
Thank you!
2 Replies
Convex Bot
Convex Bot4mo 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!
gabrielw
gabrielwOP4mo ago
marking resolved. issue, believe it or not on development, my env file was .env.local, once i changed it to .env, it worked

Did you find this page helpful?