Always Link crypto accounts to Logged In User

I canā€™t seem to figure out my desired workflow. Is this possible and would someone please give me some direction?

  1. User signs up at my site using username/pwd
  2. I create a Moralis/Parse user and sync login/logout so thereā€™s always a logged in Moralis/Parse user
    So Far So Good
  3. Iā€™d like to ā€œattachā€ a bunch of crypto eth/polygon addresses to the currently logged in user. I donā€™t want to authenticate using the wallet which creates a NEW user. Iā€™d like to show walletconnect QR codes for a user to SIGN with their mobile wallet. When signed, they are added to the current users bucket of addresses.

Thanks for your help!!

Have you tried linking address to user class.
https://docs.moralis.io/moralis-dapp/users/merging-addresses

Welllll.

Iā€™ve managed to to get the behavior I want but leave behind an unused Moralis/Parse account in the process. Takes some fancy backend session work too. I user Moralis.authorize, grab the eth account address, unlink it from the new account, logout from the new account, log back into my users account and link it to his account. Phew. Hacky for sure. But I canā€™t figure out how to show a walletconnect QR code, user scans it, and I receive the eth address rather than creating a new Parse account because they havnā€™t seen the address before. If thereā€™s a way, I would love to know.

Thanks,

Pat

maybe using Moralis.enableWeb3 does that