I am not familiar with JWT, but could it have anything to do with the new web middleware, might not but doesn't hurt to check.
Feb 26, 2016
3
Level 8
Session not working, creating new session for each request!
Hi
For some unknown reasons the session is not working as it should. I dont get any errors, it looks like a session file is created for every request! Im using JavaScript (ajax) to communicate with Laravel (API).
Using Laravel 5.2 and is a simple app with a small authentication (JWT) and 2 controllers.
Thanks
Level 8
It was a CORS issue, the client didn't send the session to the server therefore the server created a new session for each request.
Please or to participate in this conversation.