Level 4
HI, I also have the same problem. How do you solved it?
Thanks
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
In my app I'm using AJAX and authentication through Passport. It all works fine. In controller I can get authenticated user, but I can't get user's session. session()->all() returns [] and $request->session()->all() returns Session store not set on request..
How to solve this?
Upd. Session is set and works in not API calls
Please or to participate in this conversation.