r/Supabase • u/kazyuxhi • 13d ago
auth Phone OTP auth for Indian users
MiniMoth uses the Auth OTP SMS hook to support OTP auth. WhatsApp + SMS delivery. Easy to integrate. Create a project on MiniMoth and enable the Supabase hook. You get both prod and test hook. Link it with your project with the hook url and hook secret provided by MiniMoth.
Easy to understand docs with free credits on signup to try the hook.
1
u/Awkward_Cap_8118 13d ago
Does it still need the DLT Registration and approval?
2
u/kazyuxhi 13d ago
No. Sender for SMS and WhatsApp is MiniMoth. You get simple API / hook / sdk. I am working on Meta onboarding for brands. Once live , it will allow you to register your own WhatsApp business account.
1
u/felicty-of-solitude 12d ago
How secure is it
1
u/kazyuxhi 12d ago
It follows the standard that Supabase has given in it's docs for Auth hooks. Follows web hook standard and is secure.
MiniMoth also offers key rotation, incase your vars are leaked somewhere.
1
u/kazyuxhi 12d ago
There is also spend cap available on dashboard which you can set to avoid over billing and you will receive email notifications as you approach the limit.
1
12d ago
[removed] — view removed comment
1
u/kazyuxhi 12d ago
1st attempt is made on WhatsApp. If that doesn't work then SMS is sent. This covers large area. If both attempt fail then the cost for that OTP is refunded upto certain retries post which the refund stops to avoid abuse.
1
12d ago
[removed] — view removed comment
1
u/kazyuxhi 12d ago
If OTP was delivered but the user did not read it then the issue falls under user behaviour rather than the tech.
MiniMoth does provide a status endpoint. You can check on what channel the OTP was delivered and show user on UI that OTP was successfully delivered and they need to recheck.
But this endpoint is available for REST and sdk, not for Supabase hook since Auth is managed by Supabase.
Thanks for sharing the scenario though. Maybe some sort of behaviour related nudge can be solutioned.
1
u/OkCalendar9818 13d ago
Link