0

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

3
  • What do you think we can help with? Commented May 29 at 3:21
  • With how i can verify the OTP and create a session with supabase auth in my flutter app Commented May 29 at 11:06
  • 1
    Supabase actually already has custom SMS provider support: supabase.com/docs/guides/auth/auth-hooks/send-sms-hook Commented Sep 21 at 16:38

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.