Option to Show Only MetaMask Wallet in Web3Auth

Hello Web3Auth team,
I am currently using Web3Auth with the following setup:

const adapters = await getDefaultExternalAdapters({
  options: {
    clientId,
    chainConfig,
    web3AuthNetwork: WEB3AUTH_NETWORK.SAPPHIRE_MAINNET,
    privateKeyProvider: privateKeyProvider,
  }
});

const metamaskAdapter = adapters.find((e) => e.name == "metamask");

web3auth.configureAdapter(metamaskAdapter);

However, despite configuring the MetaMask adapter, multiple wallet options (like Torus and others) are still being displayed in the Web3Auth modal.

What I need:
I want to limit the options to only show MetaMask for wallet connection, as I don’t want other wallets to be available for my users.

Steps Taken:

  • I used the getDefaultExternalAdapters method to retrieve the adapters and filtered the MetaMask adapter.
  • I configured Web3Auth to use only the MetaMask adapter, but the modal still shows multiple wallet options.

Could you please provide guidance on how to limit the options to only MetaMask? Is there a specific configuration I might be missing?

Thank you for your help!

Hey @ajitdubey7080 are you using the Modal SDK?

Hey @web3auth_support,

Yes, I am using the Modal SDK.

This is a known issue in the latest release, we’ll talk with the team internally and come back.

@Ayush Is there any update regarding to keep only meta-mask option in Web3Auth modal?

Hey, we have talked to team, we’ll fix it in upcoming release.

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