Subject of the issue
Describe your issue here.
Your environment:
| Q |
A |
| Bug? |
yes |
| New Feature? |
no |
| Framework |
Laravel |
| Framework version |
11.0 |
| Package version |
1.x.y |
| PHP version |
5.x.y / 7.x.y |
Steps to reproduce
Tell us how to reproduce this issue.
I was trying to make a middleware to authenticate with httpOnly cookie but, the auth:api interrupt every single middleware when the "auth:api" fails at authentication.
I want first pass the Authorization bearer header first and then run "auth:api"
it can be fixed by using append() ,or api(prepend[]) methods.
This Problem might make problems to the other middlewares in the future.
Tell us what should happen
I suggest to add httpOnly cookie authentication, and fix middleware when it fails, it kills other middlewares.
Actual behaviour
when "api:auth fails" it kills other middlewares