I just discovered Auth::once. Could this be the way to do it? So sending login info along with every request?
Mar 9, 2017
5
Level 22
how to manage user session for a mobile hybrid app and its laravel server
I think something should be returned by the server after a user signs up, and this info will be stored in the LocalStorage. So the user can use the info to post and auto sign in like 'remember me'. Will a simple user id do the job or maybe a remeber token? I'm using laravel passport and there's only one personal access token for all clients
Please or to participate in this conversation.