verifyPasswordReset()

Description

Endpoint to verify password reset request based on oobCode provided in the email sent to the user. The oobCode can be found in the password reset URL. Password reset URL has the following structure: {email_conf_url}?oobCode={oobCode}

Request

Parameters

FieldRequiredData TypeDescription

oobCode

string

Can be found in the URL sent to the user by the resetPassword() method.

newPassword

string

New password for the user

Example

await client.auth().verifyPasswordReset('na9uubnkloaf9n18n9u112u41', 'qwerty12345')

Response

No content

Example

{}

Last updated