2
Generate OTP for users directly in Supabase for tests
Source: supabase/supabase#19468 · opened by @n-d-r-d-g
Bug report
Describe the bug
I'm currently using Twilio as phone provider and it works well for sending OTP via SMS. However, every OTP sent via SMS costs money and it doesn't make sense to spend credit during the testing phase. Is there a way to generate the OTP for a user via the Supabase dashboard, e.g. the SQL Editor?
Additional context
The users will be testing the app I'm currently building in staging. Before asking the client to subscribe to a paid Twilio plan, I want to make sure there is a way to reduce costs, i.e. the client is only charged for SMS in production but not staging. Since it's a pay-as-you-go plan, I fear the costs will get pretty high during stress tests.
Describe the bug
I'm currently using Twilio as phone provider and it works well for sending OTP via SMS. However, every OTP sent via SMS costs money and it doesn't make sense to spend credit during the testing phase. Is there a way to generate the OTP for a user via the Supabase dashboard, e.g. the SQL Editor?
Additional context
The users will be testing the app I'm currently building in staging. Before asking the client to subscribe to a paid Twilio plan, I want to make sure there is a way to reduce costs, i.e. the client is only charged for SMS in production but not staging. Since it's a pay-as-you-go plan, I fear the costs will get pretty high during stress tests.
No pledges yet. Be the first to back this.
Comments
Similar requests
Feature request for Supabase Auth: Automatically invalidate OTP after multiple failed login attempts
12 votes · 0 comments
Support generating access_token for phone users via Admin API
2 votes · 0 comments
Feature Request: Built-in Phone Number Recycling Support for Authentication
1 vote · 0 comments
[Supabase Swift] add captcha token to sign-in with SMS OTP mothed
4 votes · 0 comments
Request to Enable External JWT Authentication with Firebase (Project: dropnow-2025)
1 vote · 0 comments
No comments yet.