We have a developer account.
SDK: GitHub - auth0/node-auth0: Node.js client library for the Auth0 platform.
We create a user in our app using the ManagementClient createUser
method.
http://auth0.github.io/node-auth0/module-management.ManagementClient.html#createUser
This creates a user with a connection: 'email'
.
On our login page, we have a forgot password field to request a change password email:
http://auth0.github.io/node-auth0/module-auth.AuthenticationClient.html#requestChangePasswordEmail
This requires a connection: 'Username-Password-Authentication'
.
This fails with a User does not exist. because of the different connection types.
Changing the connection to email in requestChangePasswordEmail
does not work either.
I get Specified connection is not supported for this operation.
What is the proper flow in how we are suppose to handle this?