Auth0 Home Blog Docs

Authentication is not smooth

authentication
login

#1

Hi Everyone,

Some times when i try to login, the login page opens and after entering credentials and click on submit the login page spin and it never not render home page, after sometime it again shows login page. If i open the page in the new tab then it works fine with out any issues.

In the log i see below exception

com.auth0.InvalidRequestException: The request contains an error: a0.invalid_state
	at com.auth0.RequestProcessor.assertValidState(RequestProcessor.java:181)
	at com.auth0.RequestProcessor.process(RequestProcessor.java:103)
	at com.auth0.AuthenticationController.handle(AuthenticationController.java:141)

#2

Maybe a stale session? Is the first attempt to login also a new tab or browser session?


#3

Sometimes it is coming in the first attempt and sometimes i see this issue when i login and leave the browser for sometime and try to login back