Lumen passport works fine, but when I call with Postman endpoint e.g: api/users with Authorization type Basic type or No Auth, etc, lumen return all users. I would like to get Unauthorized message. When I set authorization type to Bearer token, it is working fine (Unauthorized). I have set up based on the README file. The route has middleware assigned too. Please, can you tell me, what I am missing or I did not lumen passport set up correctly? Thank you.
Hello,
Lumen passport works fine, but when I call with Postman endpoint e.g: api/users with Authorization type Basic type or No Auth, etc, lumen return all users. I would like to get Unauthorized message. When I set authorization type to Bearer token, it is working fine (Unauthorized). I have set up based on the README file. The route has middleware assigned too. Please, can you tell me, what I am missing or I did not lumen passport set up correctly? Thank you.