sneakyf1shy
sneakyf1shy4d ago

No auth provider found

since around yesterday, my already working auth setup suddenly broke and now I can’t use auth at all. The setup is custom JWT using better auth JWKS
Uncaught Error: No auth provider found matching the given token
at async <anonymous> (../../convex/chat_http_action.ts:60:13)
at async invokeFunction (../../node_modules/convex/src/server/impl/registration_impl.ts:80:11)
at async invokeHttpAction (../../node_modules/convex/src/server/impl/registration_impl.ts:442:0)
at async <anonymous> (../../node_modules/convex/src/server/router.ts:322:16)
Uncaught Error: No auth provider found matching the given token
at async <anonymous> (../../convex/chat_http_action.ts:60:13)
at async invokeFunction (../../node_modules/convex/src/server/impl/registration_impl.ts:80:11)
at async invokeHttpAction (../../node_modules/convex/src/server/impl/registration_impl.ts:442:0)
at async <anonymous> (../../node_modules/convex/src/server/router.ts:322:16)
seems like there are no more requests to the JWKS endpoint at all
6 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!
sneakyf1shy
sneakyf1shyOP4d ago
No description
sneakyf1shy
sneakyf1shyOP4d ago
No description
erquhart
erquhart4d ago
Are you using @erquhart/convex-better-auth?
sneakyf1shy
sneakyf1shyOP4d ago
I got it working by changing from localhost to a dev proxy But no, I'm not using convex-better-auth But either way the auth did suddenly stop working which is weird I still feel there might be some bug in convex or something, but at least everything's working for now... Better auth is hosted on a seperate SQL DB, hence using it through custom JWT provider
erquhart
erquhart4d ago
ah, gotcha If you're interested, the Convex integration lets you run everything through your Convex deployment

Did you find this page helpful?