After updating email and verifying token, user_metadata still has the old email #1670
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
After updating a user's email and verifying with OTP token, the user_metadata field isn't updating with the newly verified email.
The email and identities field get correctly updated.
Secure email change is disabled.
To Reproduce
updateUser({ email: "[email protected]" })
verifyOtp({ email: "[email protected]", token: token, type: "email_change" })
user_metadata
fielduser_metadata
field still has the old emailExpected behavior
The
user_metadata
field should be updated with the new emailSystem information
Additional context
session returned from verifyOtp
The text was updated successfully, but these errors were encountered: