Inside my API routes, Auth::user() does not return anything.
I've read that this is because API's are stateless. And I should use Passport.
Could anyone explain why this is and if there is any way to get the Auth user in the API without using passport (or similar)?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2mMFAwJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire