Open florian-lefebvre opened 1 month ago
Thanks for opening! Which phone provider are you using and how have you configured it?
Thanks for the quick answer! I'm using the twilio provider and locally I'm doing the following to avoid having the twilio creds + send to prod users by mistake:
[auth.sms.test_otp]
61491572549 = "123456"
# Inexistent user in the seed file, used to test registration and phone update
61491576398 = "123456"
# NOTICE THE EMPTY STRINGS
[auth.sms.twilio]
enabled = true
account_sid = " "
message_service_sid = " "
auth_token = " "
Note that this works perfectly for any other otp related operation
same issue here
Ghada rebhi2@gmail.com
Hosni Rabhi @gmail.com
Bug report
Describe the bug
To update a user's phone, the following needs to be done:
However locally, calling
updateUser
updates theauth.users
row directly. I tested on a test hosted supabase instance and it worked as intended fyi.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Have Supabase configured locally using the CLI and running
Create a user using phone provider
Login then call
Check the
auth.users
table and seephone
is updated directlyExpected behavior
Locally,
auth.users
row columns should be updated with phone change stuff and an otp should be sent.System information