Hello, currently I develop web service using Web3Auth.
And I have faced this problem.
In deployed site (Whitelisted).
web3auth = new Web3Auth({
clientId, // Client ID
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: “0x1”,
rpcTarget: $config.web3auth.rpcTarget, // From Infura.
},
});
await web3auth.initModal();
clientId, // Client ID
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: “0x1”,
rpcTarget: $config.web3auth.rpcTarget, // From Infura.
},
});
await web3auth.initModal();
provider = await web3auth.connect();
Open modal and,
EXTERNAL WALLET
-> Metamask
.
I expect open Metamask modal, but it not working properly.
So What's I should do? (As a side note. In localhost:3000
, it works.
Regards
Originally posted by: MizukiSonoko
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/607