# Error when hitting back button from SSO and trying to login via Email/Password

**URL:** <https://community.auth0.com/t/error-when-hitting-back-button-from-sso-and-trying-to-login-via-email-password/11572>\
**Category:** Get Help\
**Tags:** lock, login, auth0\
**Created:** [May 14, 2018, 7:14pm UTC](https://community.auth0.com/t/error-when-hitting-back-button-from-sso-and-trying-to-login-via-email-password/11572 "2018-05-14T19:14:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewv](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@andrewv](https://community.auth0.com/u/andrewv)\
**Post date:** [May 14, 2018, 7:14pm UTC](https://community.auth0.com/t/error-when-hitting-back-button-from-sso-and-trying-to-login-via-email-password/11572/1 "2018-05-14T19:14:46Z")

</div>

Hi,

I have SSO enabled on my Auth0 widget via Google. I’ve come across a bug that occurs when a user clicks the “LOG IN WITH GOOGLE” button then hits the back button(to go back to the lock screen) and attempts to login via Email/Password.

This causes an error page to be displayed:

 ![image](https://global.discourse-cdn.com/auth0/original/2X/a/aa547fb012fdca790f8e9b9e4dac8f3c24d8cfd4.png)

Is anyone aware of a way around this? Our app is currently in production, so we’re looking to get this fixed pretty quickly.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [October 10, 2018, 2:08pm UTC](https://community.auth0.com/t/error-when-hitting-back-button-from-sso-and-trying-to-login-via-email-password/11572/3 "2018-10-10T14:08:59Z")

</div>

I believe this is expected behavior. Due to the way the authentication process works, there are some intermediate steps which are not repeatable - The user going back in history leads to an attempt to repeat one of those intermediate steps and the current behaviour is to throw the error. A user attempting to open this bookmark to login will experience the issue as well. We could handle the error on the client side and display a message to the user and present the option to log in again. I believe this is something that has come up before and is being worked on to devise a better solution/handling, but at this time I do not have an ETA on that.

---

<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:** [January 7, 2019, 5:46pm UTC](https://community.auth0.com/t/error-when-hitting-back-button-from-sso-and-trying-to-login-via-email-password/11572/4 "2019-01-07T17:46:58Z")

</div>

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