# Laravel SDK NS\_ERROR\_REDIRECT\_LOOP

**URL:** <https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [May 19, 2023, 2:52pm UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404 "2023-05-19T14:52:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LozziStyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lozzistyle/32/45871_2.png) [@LozziStyle](https://community.auth0.com/u/LozziStyle)\
**Post date:** [May 19, 2023, 2:52pm UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404/1 "2023-05-19T14:52:10Z")

</div>

Hello everyone,

how can I fix a NS\_ERROR\_REDIRECT\_LOOP Error?  
This is a reason why my header is way too big and may be causing a invalid state error as well. But I dont know what could be wrong. Any hints?

I am using the Laravel PHP Auth0 SDK and did not change anything to the logic of it.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 22, 2023, 9:01am UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404/2 "2023-05-22T09:01:50Z")

</div>

Hey there!

Can I ask you to raise it as a GitHub issue in the SDK repo so we can discuss it with the repo maintainers? Once you have a link to it make sure to share it here so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![evansims](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evansims/32/27011_2.png) [@evansims](https://community.auth0.com/u/evansims)\
**Post date:** [May 22, 2023, 5:24pm UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404/4 "2023-05-22T17:24:27Z")

</div>

👋 Addressed in your follow up thread, [HTTP header is larger than 10240 bytes | SDK Invalid State Laravel](https://community.auth0.com/t/http-header-is-larger-than-10240-bytes-sdk-invalid-state-laravel/107072/1)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 23, 2023, 9:29am UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404/5 "2023-05-23T09:29:47Z")

</div>

Thanks a ton @evansims !

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 23, 2023, 9:29am UTC](https://community.auth0.com/t/laravel-sdk-ns-error-redirect-loop/107404/6 "2023-05-23T09:29:55Z")

</div>


