Support the ongoing development of Laravel.io →
Authentication Security
Last updated 2 years ago.
0
Solution

My mistake, it was a csrf filter that was causing this error, not the auth filter...

For reference to my question:

AJAX Requests are identical with regular requests in regards to session data. Anything that depends on Session or Auth will work with an AJAX call.

link to thread

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

konpa konpa Joined 2 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.