# After long time stay on auth0 login page --Callback page occurs

**URL:** <https://community.auth0.com/t/after-long-time-stay-on-auth0-login-page-callback-page-occurs/126737>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [February 7, 2024, 10:25am UTC](https://community.auth0.com/t/after-long-time-stay-on-auth0-login-page-callback-page-occurs/126737 "2024-02-07T10:25:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prani128](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prani128/32/50070_2.png) [@prani128](https://community.auth0.com/u/prani128)\
**Post date:** [February 7, 2024, 10:25am UTC](https://community.auth0.com/t/after-long-time-stay-on-auth0-login-page-callback-page-occurs/126737/1 "2024-02-07T10:25:15Z")

</div>

An unhandled exception occurred while processing the request.  
Exception: Correlation failed.  
Unknown location

Exception: An error was encountered while handling the remote login.  
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.HandleRequestAsync()

Stack Query Cookies Headers Routing  
Exception: Correlation failed.

Show raw exception details  
Exception: An error was encountered while handling the remote login.  
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.HandleRequestAsync()  
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)  
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [February 7, 2024, 2:36pm UTC](https://community.auth0.com/t/after-long-time-stay-on-auth0-login-page-callback-page-occurs/126737/2 "2024-02-07T14:36:15Z")

</div>

Hey there @prani128 ,

With the /login request, a state parameter is issued to prevent CSRF attacks which is valid for a limited time.

```auto
https://subdomain.eu.auth0.com/login?state=xxxxxxxxxxxx

```

There is a doc on how to manipulate this value - [State parameter lifetime](https://community.auth0.com/t/state-parameter-lifetime/113986)

More info here - [Prevent Attacks and Redirect Users with OAuth 2.0 State Parameters](https://auth0.com/docs/secure/attack-protection/state-parameters)

Please let me know if you have any questions!

---

<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:** [February 21, 2024, 2:36pm UTC](https://community.auth0.com/t/after-long-time-stay-on-auth0-login-page-callback-page-occurs/126737/3 "2024-02-21T14:36:27Z")

</div>

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