Importing users with wallet address

Hello.

I’ve imported a bunch of external users into Moralis using the API. Most of them already had an attached wallet address, so I set this under ethAddress and accounts field.

The problem is, whenever these users authenticate into Moralis, it is creating a new user instead of linking to the existing User object. I believe it happens due to the lack of previous existing record on _EthAddress collection. Any workaround to avoid this user duplication scenario?

Thank you!