# "You may have pressed the back..." error if login window stays open

**URL:** <https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [November 9, 2023, 1:31pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550 "2023-11-09T13:31:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnthonyDaSilva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonydasilva/32/33385_2.png) [@AnthonyDaSilva](https://community.auth0.com/u/AnthonyDaSilva)\
**Post date:** [November 9, 2023, 1:31pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550/1 "2023-11-09T13:31:58Z")

</div>

Hi,

We have an auto logout feature in our application, when the timer is reached, the user is disconnected and redirected to the login page.  
If, for example, the user leaves the application open and come back the following day and tries to login, he will receive an error message like “you may have pressed the back button…”.  
I suppose there is a lifetime for the state of the login page.

What can we do to solve this ?

Thanks

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 9, 2023, 4:00pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550/3 "2023-11-09T16:00:48Z")

</div>

Hi @AnthonyDaSilva,

This error can be resolved by configuring a [Default Login Route](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes) for the tenant, or Application Login URI configured for any applications.

Please see our [Users occasionally see an error "You may have pressed the back button..."](https://community.auth0.com/t/users-occasionally-see-an-error-you-may-have-pressed-the-back-button/88592) FAQ for a more detailed explanation.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![AnthonyDaSilva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonydasilva/32/33385_2.png) [@AnthonyDaSilva](https://community.auth0.com/u/AnthonyDaSilva)\
**Post date:** [November 13, 2023, 12:05pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550/4 "2023-11-13T12:05:01Z")

</div>

Hi rueben,

Indeed it works if we do this, thanks ^^

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 13, 2023, 5:00pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550/5 "2023-11-13T17:00:31Z")

</div>

Hi @AnthonyDaSilva,

I’m glad it worked!

If you have any additional questions, please feel free to reach out.

Thanks,  
Rueben

---

<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 27, 2023, 5:00pm UTC](https://community.auth0.com/t/you-may-have-pressed-the-back-error-if-login-window-stays-open/120550/6 "2023-11-27T17:00:52Z")

</div>

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