# \[Archive\] Error Something went wrong when login on popup

**URL:** <https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [September 14, 2024, 8:30am UTC](https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238 "2024-09-14T08:30:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thienphuoc.huynh](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@thienphuoc.huynh](https://builder.metamask.io/u/thienphuoc.huynh)\
**Post date:** [September 14, 2024, 8:30am UTC](https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238/1 "2024-09-14T08:30:15Z")

</div>

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

* * *

HI,  
Before everything is OK but this morning today I could not login because stuck at popup authen wweb3auth.

[![Untitled](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/eda74e84addd10344a58666889be2d6087ddc54a.png)
Untitled1203×755 58.3 KB
](https://web3auth.io/community/uploads/default/original/2X/0/085e2a17ee3099e6e311859c4315241678b41c3d.png "Untitled")
  

[![1d](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/89a152f764bf990284f69ae8f22a00727716e4ce.png)
1d2064×864 21 KB
](https://web3auth.io/community/uploads/default/original/2X/3/3ec68e12b75727104a073c66db5e3996fc403060.png "1d")

Pls help me check this error asap ?

---

<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 14, 2024, 8:30am UTC](https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238/2 "2024-09-14T08:30:30Z")

</div>

Hi Elohim,

Thank you for reaching out and providing the details.

From your message, I understand that you’re encountering an error during the Web3Auth login popup. Here’s a summary of your issue for clarity:

- **SDK Details** : PnP Web SDK
- **Issue** : Error during login on popup: “Something went wrong”
- **Details** : The implementation worked previously but is now experiencing issues when attempting to log in. The login gets stuck at the popup screen.

To help the support team diagnose the issue faster, could you please share the following additional details:

1. **Web3Auth Initialization & Login Code Snippets** : This will help in identifying any potential issues in the initialization or login process.
2. **Browser Console Screenshots** : To check if there are any error messages or logs which might indicate the root cause.
3. Are you using any custom authentication provider? If so, please provide details like the **Verifier Name** , **Method of Login** , **JWKS Endpoint** , and a sample **idToken (JWT)**.

The provided images also contain valuable information, and the team will review those.

This response was generated by the Web3Auth Bot. A person from the Web3Auth team will review and address your query shortly.

Thank you for your patience!

---

<div class="post-metadata">

**Author:** ![thienphuoc.huynh](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@thienphuoc.huynh](https://builder.metamask.io/u/thienphuoc.huynh)\
**Post date:** [September 14, 2024, 8:33am UTC](https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238/3 "2024-09-14T08:33:50Z")

</div>

I update my code snippets

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/c0f0836016b0aeb673a164878cdd8224a5cb0dfe.png)
image1388×1177 58.7 KB
](https://web3auth.io/community/uploads/default/original/2X/d/df03d0d5e0325e5dc582c38f4c47665ec5b2b2ff.png "image")

error console popup

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/87b5ad9a8fd4d807bcb7427a97f8bdb08bf28ab9.png)
image1332×624 69.1 KB
](https://web3auth.io/community/uploads/default/original/2X/0/025ecf5e1929be99075b75eba0a7fa2c7f10abd1.png "image")

---

<div class="post-metadata">

**Author:** ![yashovardhan](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/yashovardhan/32/1526_2.png) [@yashovardhan](https://builder.metamask.io/u/yashovardhan)\
**Post date:** [September 18, 2024, 10:41am UTC](https://builder.metamask.io/t/archive-error-something-went-wrong-when-login-on-popup/1238/4 "2024-09-18T10:41:46Z")

</div>

Looks like your whitelist is failing. Have you whitelisted the same domain you are accessing your application in the dashboard?
