Confirm Password Reset

Use the confirmPasswordReset method to allow users to reset their password using the verification code sent to their email.

Method

await FirebaseApp.firebaseAuth?.confirmPasswordReset(oobCode, newPassword);

Parameters

  • oobCode (String): The code sent to the user's email for password reset verification.

  • newPassword (String): The new password that the user wants to set.

Return

  • 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