Brodacious
Brodacious11h ago

Context Auth w/ SMS

Hey all, I was reading through the docs and noticed that there isn't clear-cut support for authentication with Context Auth specifically with SMS. Does anyone know if I actually missed the docs on this, or if maybe there's a suggested approach for supporting SMS OTPs? Thank you for your time and any assistance that you can provide!
3 Replies
Convex Bot
Convex Bot11h 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
erquhart11h ago
It doesn't "just work" out of the box, requires some setup, but an example is provided that uses Twilio: https://labs.convex.dev/auth/config/otps#phone-providers
erquhart
erquhart11h ago
Convex's other Auth integrations like WorkOS and Clerk definitely support it. If you want to keep it OSS in your db and prefer out-of-box support, try Better Auth: https://convex-better-auth.netlify.app/
Getting Started | Convex + Better Auth
Getting Started with Better Auth and Convex

Did you find this page helpful?