Answer the question
In order to leave comments, you need to log in
Laravel Passport. How to authorize with a token?
Hello.
I am using laravel passport for authorization.
For routes I use middleware auth:api
.
Task:
Authorized and unauthorized users need to display a list of articles.
But if the user is authorized, then you also need to display isLiked (whether the user liked the article).
The problem is that this middleware prevents unauthorized users from accessing articles.
And if I completely remove the middleware, then I cannot access the Auth object (even if I pass the token).
How to be? Handles to become authorized on a token? And how can I log in.
Ways, ideas, thoughts, I will be grateful for everything.
Answer the question
In order to leave comments, you need to log in
Do you want to host all of these: Avtive Directory, WSUS, portable profiles, KAV, roles on one server? Wouldn't recommend..... In the first answer you were advised by the server, in terms of if you raise the virtualization on it...
Well, or look in the direction of the HP Proliant MicroServer Gen10 Server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question