supabase-js
supabase-js copied to clipboard
Phone Number Not Stored During Signup When Email Confirmation Enabled
When both email and phone number are provided during user signup, and:
- Email confirmation is enabled
- Phone confirmation is disabled
The phone number is incorrectly stored as null in the database. However, the same phone number can be successfully stored when using the updateUser method.
Signup function
value of formData.adminMobile: +919996381211
Update user function
value of formData.adminMobile: +919996381211
But in case of update it got updated in auth.users table
Steps to Reproduce
- Configure system with:
- Email confirmation: enabled
- Phone confirmation: disabled
- Attempt to create a new user with both email and phone number
- Check the stored user data in the database
- Attempt to update the same user with a phone number using
updateUser
Current Behavior
- During signup: Phone number is stored as
null - During update: Phone number is stored correctly
Expected Behavior
Phone number should be stored correctly in both scenarios:
- During initial user signup
- During user update
Labels
- bug
- authentication
- user-management