# Laravel 5.4 Integration Invalid State on callback

**URL:** <https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618>\
**Category:** Get Help\
**Tags:** error, state\
**Created:** [June 27, 2018, 1:30pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618 "2018-06-27T13:30:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![flu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/flu/32/8195_2.png) [@flu](https://community.auth0.com/u/flu)\
**Post date:** [June 27, 2018, 1:30pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618/1 "2018-06-27T13:30:12Z")

</div>

Hi there

I try to use auth0 with my laravel 5.4 installation - i followed your guidelines. as i log in the redirect url will be called but then i get a php error on my /callback page (screenshot attached).

can anyone help me?

 ![09](https://global.discourse-cdn.com/auth0/original/2X/0/04fcff339604bd424376ef9e7aa5a9f700785573.png)

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [June 29, 2018, 12:51pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618/2 "2018-06-29T12:51:43Z")

</div>

Do you have a link to the guidelines you followed? Would help make sure we’re on the same page.

---

<div class="post-metadata">

**Author:** ![flu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/flu/32/8195_2.png) [@flu](https://community.auth0.com/u/flu)\
**Post date:** [July 2, 2018, 12:15pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618/4 "2018-07-02T12:15:19Z")

</div>

hey

i used the following guide: [Auth0 Laravel SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/laravel/01-login)

→ i use laravel 5.4

---

<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:** [September 6, 2018, 3:14pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618/5 "2018-09-06T15:14:33Z")

</div>

👋 @flu were you able to solve your invalid state issue? If not, please let me know I can take a look with the Lavarel quickstart.

---

<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:** [November 13, 2018, 11:00pm UTC](https://community.auth0.com/t/laravel-5-4-integration-invalid-state-on-callback/12618/6 "2018-11-13T23:00:03Z")

</div>

This topic was automatically closed after 30 hours. New replies are no longer allowed.
