# Bookmarked login page workaround?

**URL:** <https://community.auth0.com/t/bookmarked-login-page-workaround/31200>\
**Category:** Get Help\
**Tags:** hosted-login-page, auth0\
**Created:** [September 20, 2019, 4:28pm UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200 "2019-09-20T16:28:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MotivMaciek](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@MotivMaciek](https://community.auth0.com/u/MotivMaciek)\
**Post date:** [September 20, 2019, 4:28pm UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200/1 "2019-09-20T16:28:44Z")

</div>

Hi there,

Some of our users are bookmarking our hosted login page and having trouble logging in as a result of the nonce check. Our callback handler redirects the user to the login page again if the state is not valid during the parseHash call on the callback url. This flow is not ideal as the user has to provide their username and password twice.

What we are considering doing is to detect whether or not the user has been redirected to the login page from our application using document.referrer. The flow would be something like the following:

1. User loads a bookmarked hosted login page.
2. On the hosted login page we check for the document.referrer value.
3. If the document.referrer value is null, we reload the login page via a redirect to our /login endpoint causing a fresh new login page.
4. If the document.referrer value is not null, we were redirected from the application and we should not reload the page.

I am aware of the Application Login URI setting but using this setting complicates our deployment process quite a lot just to handle this particular scenario.

My question is whether using the method outlined above is valid/reliable and if there are any pitfalls that I should be aware of. Am I crazy for trying to implement a reload of the hosted login page in this way?

---

<div class="post-metadata">

**Author:** ![bmikinski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bmikinski/32/13966_2.png) [@bmikinski](https://community.auth0.com/u/bmikinski)\
**Post date:** [November 12, 2019, 5:47pm UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200/2 "2019-11-12T17:47:54Z")

</div>

Would love to know if this is a viable approach to the bookmark login issue. @auth0 is there any reason why this would not work?

---

<div class="post-metadata">

**Author:** ![hardik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hardik/32/60205_2.png) [@hardik](https://community.auth0.com/u/hardik)\
**Post date:** [December 5, 2024, 10:32am UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200/3 "2024-12-05T10:32:36Z")

</div>

Hi @MotivMaciek , how was this resolved?

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [March 18, 2025, 7:39pm UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200/5 "2025-03-18T19:39:26Z")

</div>

Hi @MotivMaciek,

Welcome to the Auth0 Community!

Your issue seems to be very similar to the issue from this post, you can try implementing the solution from here.

> [@Login initiated from bookmark](https://community.auth0.com/t/login-initiated-from-bookmark/35010):
>
> Hello, I need some advice on how to proceed on something. I have an application that used the Password login via OIDC-conformants clients, I have users that always bookmark the login page so when they try to login to these bookmark that triggers the error “Something is wrong Password login via OIDC-conformants clients with externally-hosted pages is unsupported” So my question is : is there a way to redirect them instead of this error page to the correct login page but with the OIDC compliant…

If you have any other question feel free to reach out.

Have a good one,  
Vlad

---

<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:** [April 1, 2025, 7:40pm UTC](https://community.auth0.com/t/bookmarked-login-page-workaround/31200/6 "2025-04-01T19:40:24Z")

</div>

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