I'd like to find the user id from the (string) session cookie (laravel_session).
A third party person in the project is using my API, but only send the cookie laravel_session in the header to authenticate the user...
I know it's not the best, but I cannot doing otherwise.
I'd love to have the ability to do that, but I can't... really...
I mean, if Laravel can retrieve the user from the session token I could do it manually too!?...
The project have a web / login interface, and the mobile developer log the user through a webview, get the cookie "laravel_session" and then send me back via my API (same laravel project so, same encrypted key).
It's ugly, but I'm only the guy who does the maintenance...
The project have a web / login interface, and the mobile developer log the user through a webview, get the cookie "laravel_session" and then send me back via my API (same laravel project so, same encrypted key).