I am using react-moralis and trying to authenticate from mobile. Everything works fine but auth is working a bit strange. When pressing authenticate I fire a function authenticate from react-moralis.
await authenticate({
provider: "walletConnect",
chainId: globalChainId,
onSuccess: () => {
localStorage.setItem("provider", "walletconnect")
},
onError: () => {
localStorage.clear()
}
})
The browser asks to choose a wallet and then opens it. Wallet asks to connect it with the website and on click redirects back to the browser.
And it should ask another time to choose the wallet but it does not, in the console, I get navigation blocked.
dependencies
{
"@walletconnect/web3-provider": "^1.8.0",
"moralis": "^2.5.5",
"moralis-v1": "^1.11.0",
"react-moralis": "^1.4.2",
}