DigameLuis
DigameLuis13h ago

Clerk and Convex integration error with custom-created users

hey everyone I’m having an issue integrating Clerk with Convex in a multitenant setup. From my app’s dashboard, I can create users without any problem — but when I try to sign in with one of those users, I always get this error: Error: Failed to authenticate: "Could not parse as OIDC ID token. Token might not be an OIDC-compliant JWT.", check your server auth config. If I sign in using another method (like social login) or with a user created directly from the Clerk Dashboard, everything works fine. I already checked the Issuer and it’s correctly set both in Convex environment variables and locally. I’ve also tried using both CLERK_JWT_ISSUER_DOMAIN and CLERK_FRONTEND_API_URL, but the issue persists. Has anyone run into this before or knows what might be causing it?
1 Reply
Convex Bot
Convex Bot13h 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!

Did you find this page helpful?