node-auth0 icon indicating copy to clipboard operation
node-auth0 copied to clipboard

Any specific reason change password api is split into two methods?

Open ashishdasnurkar opened this issue 10 years ago • 0 comments

Change Password API has an optional password parameter. If given, auth0 sets user password to this provided password after user clicks on the link received in email. If not given, user clicks on the email receive, enters his new password and then auth0 updates user password to this new password.

Nodejs sdk changePassword API password input is mandatory though. There is a separate method requestChangePasswordEmail to let user reset password after clicking link in received email.

Is there any specific reason for doing this way? Seems not consistent with the API docs and behavior of auth0 server.

ashishdasnurkar avatar Apr 13 '16 13:04 ashishdasnurkar