Merging users succeeds, but login fails

Hello,

We are trying to implement a legacy database as well as social connections. We have a rule which is merging users (copied from: Auth0). The initial login to either the social connection or the legacy database works. However, when a user tries to login from a second connection, it successfully merges the user’s identities but the login fails due to “The user does not exist.”. After the merge is successful, logins work from either connection. Any idea where the error message may be coming from?

-We are using auth0-js (https://cdn.auth0.com/js/auth0/9.11/auth0.min.js)

Thanks,
Ryan Jansen

Figured it out, we had some rules after our merge user rule which were attempting to add roles/metadata information, my guess is that these were attempting to add it to the wrong user after the merge.

1 Like

Glad to hear that you were able to figure it out!

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