-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When login with metamask, it is warning like below.
The site you're attempting to sign into doesn't match the domain in the request. Proceed with caution.

I deployed energy web repo to my own domain.
Steps to reproduce
- Go to switchboard.met3r.com
- Login to metamask
https://energy-web-foundation-iam-client-lib.readthedocs-hosted.com/setup/initialization/
The docs says a way to override auth domain in setChainConfig method but there is not any option of auth.domain in ChainConfig interface.
export interface ChainConfig {
chainName: Chain;
chainDisplayName: string;
rpcUrl: string;
ensRegistryAddress: string;
ensResolverV2Address: string;
ensResolverAddress: string;
ensPublicResolverAddress: string;
domainNotifierAddress: string;
assetManagerAddress: string;
didRegistryAddress: string;
claimManagerAddress: string;
stakingPoolFactoryAddress: string;
credentialRevocationRegistryAddress: string;
claimsRevocationRegistryAddress: string;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels