Use nhost.auth.resetPassword to reset the password for a user. This will send a reset-password link in an email to the user. When the user clicks the reset-password link the user is automatically signed-in. Once signed-in, the user can change their password using nhost.auth.changePassword().

nhost.auth.resetPassword({ email: 'joe@example.com' })

Parameters


__namedParameters required ResetPasswordParams

PropertyTypeRequiredNotes
__namedParameters.emailstring✔️
__namedParameters.optionsRedirectOption