# \[Archive\] Hiding Login Methods

**URL:** <https://builder.metamask.com/t/archive-hiding-login-methods/2295>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [November 23, 2022, 4:44pm UTC](https://builder.metamask.com/t/archive-hiding-login-methods/2295 "2022-11-23T16:44:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.com/u/githubdiscussions)\
**Post date:** [November 23, 2022, 4:44pm UTC](https://builder.metamask.com/t/archive-hiding-login-methods/2295/1 "2022-11-23T16:44:50Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **githubdiscussions** on 11/23/2022.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

I am trying to hide all login methods other than email and google in the plug and play modal. Is this possible? I can't seem to find a setting that works so far, please advise.

  
   
 Originally posted by: [marboro92](https://github.com/marboro92)  
   
 Check the discussion at: [https://github.com/orgs/Web3Auth/discussions/928](https://github.com/orgs/Web3Auth/discussions/928)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.com/u/githubdiscussions)\
**Post date:** [November 30, 2022, 5:32am UTC](https://builder.metamask.com/t/archive-hiding-login-methods/2295/2 "2022-11-30T05:32:49Z")

</div>

While initializing the modal, you can showcase which login methods should show up by passing `modalConfig` as shown below.

```
await web3auth.initModal({
  modalConfig: {
    [WALLET_ADAPTERS.OPENLOGIN]: {
      label: "openlogin",
      loginMethods: {
        google: {
          name: "google login",
          logoDark: "url to your custom logo which will shown in dark mode",
        },
        facebook: {
          // it will hide the facebook option from the Web3Auth modal.
          showOnModal: false,
        },
      },
      // setting it to false will hide all social login methods from modal.
      showOnModal: true,
    },
  },
}); 

```

More details regarding customising the UI according to your needs can be found [here](https://web3auth.io/docs/sdk/web/modal/whitelabel#web3auth-modal).

  
   
 Originally posted by: [Saviour1001](https://github.com/Saviour1001)
