Auth0 NodeJS Client - Password is not allowed

Setting a password directly from the API is not supported anymore due to security considerations. The Change Password flow v2 instead triggers an email to the user, where they can follow a link to reset their password; hence, passing the password parameter is not supported. You should only send the email and connection parameter, which will trigger the email to the user.

Read through the Change Password docs for more info: