I'm trying to add SMS OTP to my flutter app using custom provider I was reading about this article : https://medium.com/@lavisht22/optimizing-sms-authentication-costs-with-supabase-a-deep-dive-4a2f1b4a1a68 which is basically used an edge function that generate a code and send it through custom SMS provider API then trigger an RPC function to set that code generated. I found it useful article, but I'm stuck how I verify my OTP code I tried : verify OTP, but it does not work and give code expired or invalid
-
What do you think we can help with?mr mcwolf– mr mcwolf2025-05-29 03:21:06 +00:00Commented May 29 at 3:21
-
With how i can verify the OTP and create a session with supabase auth in my flutter appdzmoxn– dzmoxn2025-05-29 11:06:54 +00:00Commented May 29 at 11:06
-
1Supabase actually already has custom SMS provider support: supabase.com/docs/guides/auth/auth-hooks/send-sms-hookShahmirzali– Shahmirzali2025-09-21 16:38:50 +00:00Commented Sep 21 at 16:38
Add a comment
|