How to integrate with MSQ meta mask for auth in icp?

Very strange when calling const result = await MsqClient.createAndLogin();

  • ecpected it to open meta mask
  • but it open this website https://msq.tech/integration/login
  • it shows Connecting your wallet...
  • I was waiting forever never actually connect locally maybe I should connect only on the main net ?

The problem with EVM wallets is that they frequently interfere with each other, when you have multiple of them installed. MSQ only works with Metamask: not Brave wallet, not TrustWallet, not Opera wallet or any other.

Make sure your browser has only MetaMask installed.
Re-do the thing.

P.S.

  1. It opens a website instead of the wallet on that step because it comes from the times when it was not possible to express multiple accounts selection UI via the snaps SDK - so we had to invent a way to enable this UI by our own.
  2. Network selection (mainnet/sepolia/base/etc) doesn’t matter.
1 Like