<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [confirmPasswordReset](./auth.confirmpasswordreset.md)

## confirmPasswordReset() function

Completes the password reset process, given a confirmation code and new password.

<b>Signature:</b>

```typescript
export declare function confirmPasswordReset(auth: Auth, oobCode: string, newPassword: string): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  auth | [Auth](./auth.auth.md) | The Auth instance. |
|  oobCode | string | A confirmation code sent to the user. |
|  newPassword | string | The new password. |

<b>Returns:</b>

Promise&lt;void&gt;

