You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Why user instance is not corresponding with laravel user?
I mean, why when I protect the route, I get 401 even if user is logged in in laravel?
I think that API auth should use Laravel Auth and protected routes should utilize the Auth::check()
What do you think about this?