Use the confirmPasswordReset method to allow users to reset their password using the verification code sent to their email.
confirmPasswordReset
await FirebaseApp.firebaseAuth?.confirmPasswordReset(oobCode, newPassword);
oobCode (String): The code sent to the user's email for password reset verification.
String
newPassword (String): The new password that the user wants to set.
void: This method does not return a value.
This method verifies the code sent to the user's email and allows them to reset their password to the specified new password.
Last updated 1 year ago