Hello,
I created a user through node-auth0. Using passwordless (connection = ‘email’), user receives email, clicks magic link and is logged to the app for the first time.
Now I would like the user to enable login with email/password. user defines password and click submits.
When i try to update user profile with password
I receive error:
{
"statusCode": 400,
"error": "Bad Request",
"message": "The specified connection is not supported for this operation",
"errorCode": "operation_not_supported"
}
How can I change connection to = ‘Username-Password-Authentication’ and update user profile with password? When i try to update user connection type the error appears:
{
"statusCode": 400,
"error": "Bad Request",
"message": "The connection (Username-Password-Authentication) does not exist.",
"errorCode": "inexistent_connection"
}
Is it due to lack of Username-Password-Authentication inside user.identities ?
How can i add it to the user.identities array?