Leonardo DR
 · Rookiest rookie

Supabase confirmation email sent to the old address

I am having difficulties with the confirmation email functionality. While the login, sign-up, and password reset processes work as they're supposed to, the Email Update Confirmation sends to the old email address instead of the new one. Although the message correctly states the change from "[email protected]" to "[email protected]," the email is dispatched to the former address.
The issue remains with both the built-in Auth action for Email Update and a brief segment of code.

Future changeEmail(String newEmail) async {
final response =
await SupaFlow.client.auth.updateUser(UserAttributes(email: newEmail));

if (response.user != null) {
return true;
} else {
return false;
}
}

I can reproduce it from scratch, but confirmed with FF it's not a bug. Supabase support wasn't very proactive. Any idea?

Screenshot 2024-03-01 at 13.31.20.jpg
75.37KB

Screenshot 2024-03-01 at 13.31.09.jpg
54.37KB

1
2 replies