Answer the question
In order to leave comments, you need to log in
How to get user object in resources?
Guys, I ran into such a problem that I do not get access to the user through the Auth facade. There is no error, just null.
I'm trying to get access to the user according to the documentation, of course, and all this is the charm of the resource .
I attached sanctum to the project. The routes are on api.php.
Help solve the problem, please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question