# Change connection type for existing user

**URL:** <https://community.auth0.com/t/change-connection-type-for-existing-user/76914>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [January 24, 2022, 4:19pm UTC](https://community.auth0.com/t/change-connection-type-for-existing-user/76914 "2022-01-24T16:19:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stopyransky](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stopyransky/32/14762_2.png) [@stopyransky](https://community.auth0.com/u/stopyransky)\
**Post date:** [January 24, 2022, 4:19pm UTC](https://community.auth0.com/t/change-connection-type-for-existing-user/76914/1 "2022-01-24T16:19:02Z")

</div>

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:

```auto
{
  "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:

```auto
{
  "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?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 25, 2022, 12:02am UTC](https://community.auth0.com/t/change-connection-type-for-existing-user/76914/3 "2022-01-25T00:02:17Z")

</div>

Hi @stopyransky,

Welcome to the Auth0 Community!

Unfortunately, it is not possible to change the user’s connection type.

In this scenario, I recommend that you use the [Account Link Extension](https://auth0.com/docs/customize/extensions/account-link-extension) to link the accounts of the user so that they can use both their Passwordless and regular email and password to log in.

After linking these accounts, the various user profile(s) information will populate in the primary user’s profile identities array.

Please take a look at [this](https://auth0.com/docs/manage-users/user-accounts/user-account-linking#how-it-works) document for details on how Account Linking works.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 9, 2022, 12:02am UTC](https://community.auth0.com/t/change-connection-type-for-existing-user/76914/4 "2022-02-09T00:02:32Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
