# \[Archive\] Unable to Login After Migrating Web3Auth Modal from v6 to v8

**URL:** <https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [September 16, 2024, 9:24am UTC](https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236 "2024-09-16T09:24:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hisyam](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@hisyam](https://builder.metamask.io/u/hisyam)\
**Post date:** [September 16, 2024, 9:24am UTC](https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236/1 "2024-09-16T09:24:17Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **hisyam** on 9/16/2024.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

**When asking for help in this category, please ensure you provide the following details:**

- **SDK Version** (from `package.json`):
  - `"@web3auth/ethereum-provider": "^8.12.4"`
  - `"@web3auth/modal": "^8.12.7"`
  - `"@web3auth/web3auth-wagmi-connector": "^6.0.0"`

- **Platform** (e.g., Windows, macOS, Linux):
- **Browser Console Screenshots** :

I am encountering an issue where I need to verify via `auth.web3auth.io`, but the website doesn’t load.

Previously, I successfully verified using `app.openlogin.io`, but after upgrading the library to version 8, I can no longer verify using the same browser.

Here’s a screenshot of the issue:

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/3a95d38dea164969b873750c8ffce2a4fc45bf17.png)
image2714×1654 257 KB
](https://web3auth.io/community/uploads/default/original/2X/0/032938b3cd3409183dbad43b0e2f20e135535cbb.png "image")
  

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/4a01a866e2f3dd65cee3fe5199bf9292d3470021.png)
image3332×2006 148 KB
](https://web3auth.io/community/uploads/default/original/2X/6/60bf257a603c1c1c72bd0c99e3c5423c49b421f5.png "image")

---

<div class="post-metadata">

**Author:** ![w3abot](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@w3abot](https://builder.metamask.io/u/w3abot)\
**Post date:** [September 16, 2024, 9:26am UTC](https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236/2 "2024-09-16T09:26:26Z")

</div>

Hi Hisyam,

Thank you for providing the details and screenshots. It seems like you’re encountering an issue after migrating your Web3Auth Modal from version 6 to version 8. Let’s make sure we have all the information to help you better.

From your initial message, I have gathered the following:

- **SDKs & Versions:**
  - `"@web3auth/ethereum-provider": "^8.12.4"`
  - `"@web3auth/modal": "^8.12.7"`
  - `"@web3auth/web3auth-wagmi-connector": "^6.0.0"`

- **Platform:** (Please specify if it is Windows, macOS, or Linux)
- **Issue:** Needing to verify via `auth.web3auth.io` but unable to load the website after upgrading to version 8.

It would also be helpful if you could share:

- Your Web3Auth initialization and login code snippets.
- Any additional console logs or errors that you might be seeing.

Since you used to verify via `app.openlogin.io` and it stopped working post-upgrade, there might be changes in the API or endpoints. Checking your code setup might reveal if any settings or parameters need updating.

Please provide the above-mentioned details so the support team can assist you more effectively.

This response was generated by the Web3Auth Bot. A person from the Web3Auth team will come and give a thorough answer to your query as well.

---

<div class="post-metadata">

**Author:** ![hisyam](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@hisyam](https://builder.metamask.io/u/hisyam)\
**Post date:** [September 16, 2024, 9:39am UTC](https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236/3 "2024-09-16T09:39:10Z")

</div>

I am following the WAGMI modal example from the [Web3Auth GitHub repository](https://github.com/Web3Auth/web3auth-pnp-examples/blob/main/web-modal-sdk/wagmi-examples/wagmi-modal-example/src/Web3AuthConnectorInstance.tsx).

```auto
export default function Web3AuthConnectorInstance(chains: Chain[]) {
  const firstChain = chains[0];
  if (!firstChain) {
    throw new Error("No chains provided");
  }
  // Create Web3Auth Instance
  const name = APP_NAME;
  const chainConfig = {
    chainNamespace: CHAIN_NAMESPACES.EIP155,
    chainId: "0x" + firstChain.id.toString(16),
    rpcTarget: firstChain.rpcUrls.default.http[0] as string, // This is the public RPC we have added, please pass on your own endpoint while creating an app
    displayName: firstChain.name,
    tickerName: firstChain.nativeCurrency?.name,
    ticker: firstChain.nativeCurrency?.symbol,
    blockExplorer: firstChain.blockExplorers?.default.url[0] as string,
  };
const privateKeyProvider = new EthereumPrivateKeyProvider({
config: { chainConfig },
});
const web3AuthInstance = new Web3Auth({
clientId: WEB3AUTH_CLIENT_ID,
chainConfig,
privateKeyProvider,
uiConfig: {
appName: name,
loginMethodsOrder: [“google”],
defaultLanguage: “en”,
modalZIndex: “2147483647”,
logoLight: “https://web3auth.io/images/web3authlog.png”,
logoDark: “https://web3auth.io/images/web3authlogodark.png”,
uxMode: “redirect”,
mode: “dark”,
},
web3AuthNetwork: WEB3AUTH_NETWORK.TESTNET,
enableLogging: true,
});
const modalConfig = {
[WALLET_ADAPTERS.OPENLOGIN]: {
label: “openlogin”,
loginMethods: {
facebook: {
// it will hide the facebook option from the Web3Auth modal.
name: “facebook login”,
showOnModal: false,
},
},
// setting it to false will hide all social login methods from modal.
showOnModal: true,
},
};
return Web3AuthConnector({
web3AuthInstance,
modalConfig,
});
}

```

There are no console errors on my website:

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/93c07db3ce1d87922616adefce41e79ae60226e5.jpeg)
image1082×1916 244 KB
](https://web3auth.io/community/uploads/default/original/2X/d/da6cc4e393f487907c468bdeeae7835f2a35a22d.jpeg "image")

However, I am seeing a console error on `auth.web3auth.io`:

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/baaa03df695ab4aff79be3bcfa3082db83336177.jpeg)
image1920×1155 117 KB
](https://web3auth.io/community/uploads/default/original/2X/c/cec2c00a62bf7bda856a16c5f68b510b2b1be308.jpeg "image")

---

<div class="post-metadata">

**Author:** ![Ayush](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/ayush/32/1540_2.png) [@Ayush](https://builder.metamask.io/u/Ayush)\
**Post date:** [September 18, 2024, 10:56am UTC](https://builder.metamask.io/t/archive-unable-to-login-after-migrating-web3auth-modal-from-v6-to-v8/1236/4 "2024-09-18T10:56:48Z")

</div>

You want to use [https://app.openlogin.com/](https://app.openlogin.com/) and not [auth.web3auth.io](http://auth.web3auth.io). And as of now you won’t be able to verify the new device on previous device. You can use “Verify with other factors” to verify your account.
