Hi, we added the rule to automatic account linking by email.
Problem is that after linking, the first login returns an error that THE USER DOES NOT EXIST.
However linking is successful, and the second login works fine - the user is signed in as the first, primary user, as expected.
I was able to find a workaround on this, changed line 56 from
callback(null, user, context);
callback(null, originalUser, context);
Is my workaround correct or not? Can’t understand why seems nobody else faced with this issue…