Firebase authentication update email issues

Database & APIs

Hi there FF community,

Sorry if this is not the right place for this topic, first time commenting here ๐Ÿ™‚

When using the Update Email Firebase Auth action combined with email verification I have realized that when the action is triggered, the user email is changed in firestore database (users collection) but not in authentication. That happens only when the user effectively verifies the new email.

What's more, the user still can verify with the email which was used in first place, leading to a situation where the verified email is different from the one stored in the users collection.

My main trouble now happens when a user creates an account with a wrong email or when the user changes the email but doesn't verify the new one.

Additionally the update email action doesn't check if the email to be updated already exists in firebase authentication.

Am I missing something here? How do you deal with this?

Thanks a lot!

What have you tried so far?

I have tried to include validation forms and actions combinations.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
3 replies