holly
October 30, 2019, 9:49pm
10
Hi Donco! I’m glad you got the first part figured out!
There are unfortunately a lot of things that can cause that Invalid State error. Josh summarizes what could be causing it in his response here:
Hi There,
My question is similar to other topics I’ve seen here like Invalid state (error 500) after PHP/SDK redirect , but I haven’t found a solution that works yet. So far I’ve tried force disabling cache on callback.php, outright disabling state_handler = false in the config, different responseTypes.
Which SDK does this apply to? (Ex: auth-node)
Using the PHP sdk installed with composer
Which verison of the SDK you are using? (Ex: 1.0)
5.3.0
Which version of the platform are you facing th…
To help narrow it down, can you tell me when this occurred? Was it after signing in and being redirected back to the app? Did you have multiple tabs open? Does it still occur if you logout (clear session data)?
Let me know if you can reproduce it and when it occurs. In the meantime, here are some resources that have helped others with the same issue:
opened 06:00AM - 17 Jan 19 UTC
closed 10:07PM - 21 Jan 19 UTC
I have a problem with auth0.
There are two auth0 Applications in the project … that I am working on right now. One is in PHP other one is WordPress. Both use auth0 Hosted Page.
First I opened my WordPress site in a tab in my web browser. Then I opened the same in another tab. Then tried logging in from the first tab by entering the email and the password and got the below error message.
![002](https://user-images.githubusercontent.com/36402202/51298474-af274800-1a4a-11e9-80d4-4691f1625673.JPG)
If it is a PHP site got the below error message.
![004](https://user-images.githubusercontent.com/36402202/51298503-cb2ae980-1a4a-11e9-850d-823d54c258b2.JPG)
opened 06:49PM - 01 Apr 19 UTC
closed 06:59PM - 02 Apr 19 UTC
Hello!
After searching for few hours I'm still struggling to fix the issue. F… ollowing error message is displayed on callback page.
`Fatal error: Uncaught exception 'Auth0\SDK\Exception\CoreException' with message 'Invalid state' in auth0/vendor/auth0/auth0-php/src/Auth0.php:537`.
Here is state value: `5ca21f797a9659.40872849`. And my test home page is [https://www.casaskipito.com/auth0/](https://www.casaskipito.com/auth0/).
Any help will be appreciated.
Thanks!