# Account linking

**URL:** <https://community.auth0.com/t/account-linking/92972>\
**Category:** Get Help\
**Tags:** account-linking\
**Created:** [October 24, 2022, 1:27pm UTC](https://community.auth0.com/t/account-linking/92972 "2022-10-24T13:27:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jambaceesay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jambaceesay/32/40784_2.png) [@jambaceesay](https://community.auth0.com/u/jambaceesay)\
**Post date:** [October 24, 2022, 1:27pm UTC](https://community.auth0.com/t/account-linking/92972/1 "2022-10-24T13:27:37Z")

</div>

Hello. After linking an account from the backend with the auth0 node package and calling the continue endpoint to continue the login process for some reason I always get this error:  
**Unable to deserialize user after prompt.**  
Any Ideas on what am doing wrong will really be appreciated.

---

<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:** [October 25, 2022, 10:18pm UTC](https://community.auth0.com/t/account-linking/92972/3 "2022-10-25T22:18:43Z")

</div>

Hi @jambaceesay,

Welcome to the Auth0 Community!

I understand that you have encountered issues with Account Linking, specifically with the **Unable to deserialize user after prompt** error.

Unfortunately, this is an expected error when using Account Linking with Redirect Rules.

This happens because after the first user (secondary user) links with the second user (primary user), the **user\_id** of the first user will no longer exist and will be referenced using the second user’s ID. Meaning that the linked account shares one unique user\_id, which is why the error happens.

In this situation, we recommend linking the users after the redirection (after the `/continue` endpoint) has completed and using user\_metadata flags to determine if the user satisfies for account linking. This way, the system is able to determine the user\_id.

Lastly, I found that this is a known issue, and we have an item included in our backlog to address this problem. However, I cannot provide any ETA as to when this item will be fixed.

I hope this helps!

Please reach out if you have any additional questions or need further clarification.

Thanks,  
Rueben

---

<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:** [November 8, 2022, 10:19pm UTC](https://community.auth0.com/t/account-linking/92972/5 "2022-11-08T22:19:48Z")

</div>

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