Metamask deceptive site request with subdomain

Hey guys, Iā€™m getting deceptive site request message while trying to connect Metamask in our Unity webgl build. AFAIK, this warning popup due to different domain name in self-hosted server and the webgl domain.
Currently my webgl domain is called and the domain in self-hosted server is which is our website.

How can I solve this issue by setting just one main domain and it can accept whatever the subdomain I set for the webgl?

The reason why I want to do make it to one domain because I have another dapp which is not under website, so that when user connect Metamask in another dapp, they should see our website domain instead of webgl domain. Thanks

Hi @wjkang

The URI in the message should match the website URL. Update URI to
That should fix it.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.