The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > confirmPasswordReset

confirmPasswordReset() function

Completes the password reset process, given a confirmation code and new password.

Signature:

export declare function confirmPasswordReset(auth: Auth, oobCode: string, newPassword: string): Promise<void>;

Parameters

Parameter Type Description
auth Auth The Auth instance.
oobCode string A confirmation code sent to the user.
newPassword string The new password.

Returns:

Promise<void>