Getting an error of: "User has more than one identity on signup"
I'm getting this error due to more than one identity being associated with newly created users. I have a sign up flow where I create a user with email/password, but if they provide an email, I also update the auth.user with their phone number with the method supabase.admin.auth.updateUserById.
This was all working fine, but recently something has changed where the updateUserbyId creates another identity with the phone as the provider. This throws an error when logging in via otp. Is there a fix around this?
This was all working fine, but recently something has changed where the updateUserbyId creates another identity with the phone as the provider. This throws an error when logging in via otp. Is there a fix around this?