`EXTERNAL WALLET` -> `Metamask` not working properly

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();

provider = await web3auth.connect();

Open modal and,
EXTERNAL WALLET -> Metamask.
I expect open Metamask modal, but it not working properly.
image
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

If you take look at the demo app (https://demo-app.web3auth.io/) this works fine. Please share console logs if any.



Originally posted by: rinzler99