Api returns "200 OK" instead of "401 Unauthorized"?
I am using Passport to protect my APIs, and when I am logged in it's all good, but when I am logged out my API still returns a 200 code instead of 401.
The response is the HTML content of my web login page.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!