Use nhost.auth.changePassword to change the password for the signed-in user. The old password is not needed. In case the user is not signed-in, a password reset ticket needs to be provided.

nhost.auth.changePassword({ newPassword: 'new-secret-password' })

Parameters


__namedParameters required ChangePasswordParams

PropertyTypeRequiredNotes
__namedParameters.newPasswordstring✔️
__namedParameters.ticketstring