Liam
Liam4w ago

Is there any way to speed up the time to authentication?

Right now its very slow to authenticate and the time to first query suffers since everything has to be wrapped in a <Authenticated> check before running the query. Is there any ways to speed this up? I am using JWT auth with a long expiration time so the delay is not coming from hitting the JWT provider.
2 Replies
Convex Bot
Convex Bot4w 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
erquhart4w ago
Convex will validate the jwt every time your client initializes (so every reload). Are you using SSR by chance?

Did you find this page helpful?