# The login popup displays a blank page instead of returning a token

**URL:** <https://community.auth0.com/t/the-login-popup-displays-a-blank-page-instead-of-returning-a-token/120054>\
**Category:** Get Help\
**Tags:** passwordless-email-connection, connections\
**Created:** [November 2, 2023, 9:27am UTC](https://community.auth0.com/t/the-login-popup-displays-a-blank-page-instead-of-returning-a-token/120054 "2023-11-02T09:27:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![niaina](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@niaina](https://community.auth0.com/u/niaina)\
**Post date:** [November 2, 2023, 9:27am UTC](https://community.auth0.com/t/the-login-popup-displays-a-blank-page-instead-of-returning-a-token/120054/1 "2023-11-02T09:27:19Z")

</div>

Using the library [https://cdn.auth0.com/js/auth0-spa-js/2.0/auth0-spa-js.production.js](https://cdn.auth0.com/js/auth0-spa-js/2.0/auth0-spa-js.production.js), I display the “Username-Password-Authentication” login popup. If I leave the popup without any user interaction for 5 minutes, and then enter my login and password, I get a blank page without the token, is is the the value of url :[https://myurl/authorize/resume?state=YUYrAItkpfyn8IpTYVXUchf0w\_HWmMWr](https://myurl/authorize/resume?state=YUYrAItkpfyn8IpTYVXUchf0w_HWmMWr). Is it possible to configure this inactivity timeout for interactions with the Auth0 popup?

my code to open the popup

```auto
  const resLogin = await auth0ClientValue.loginWithPopup({
    authorizationParams: {
      redirect_uri: domain,
      response_type: "id_token",
      prompt: "login",
      connection: "Username-Password-Authentication",
    },
  });

```

Any help please?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 8, 2023, 3:20pm UTC](https://community.auth0.com/t/the-login-popup-displays-a-blank-page-instead-of-returning-a-token/120054/3 "2023-11-08T15:20:09Z")

</div>

Hi @niaina,

To confirm, the login works correctly if you log in immediately, but displays a blank page if you try to log in after letting the page sit idle for \>5 minutes.

Are you seeing any errors in the auth0 dashboard logs related to the blank page?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 28, 2023, 3:18pm UTC](https://community.auth0.com/t/the-login-popup-displays-a-blank-page-instead-of-returning-a-token/120054/4 "2023-11-28T15:18:58Z")

</div>

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