Web3auth with polygon network

Hi Guys!
How to setup moralis with web3auth on polygon network

You can read about it here (https://docs.moralis.io/moralis-dapp/users/web3-login/web3auth), All you need is to set the chainId to 0x89. Here’s an example in react

1 Like

Thanks, it is working now, but in console, there is an error message asking

Module not found: Can’t resolve ‘magic-sdk’
Module not found: Can’t resolve ‘@walletconnect/web3-provider’

I get it missing library, but I am only use web3auth.

You can ignore that for now or you can install magic-sdk and @walletconnect/web3-provider to get rid of the warning