0

I'm using Laravel Passport in my API project. When I create a custom Request with php artisan make:request and use it in a resource controller protected with the middleware auth:api, my custom request throws an AuthorizationException and all I can see is 403 Forbidden. When I don't use my custom request, everything is working as expected. I'm using Laravel version 5.8.

no0by5
  • 632
  • 3
  • 8
  • 30

0 Answers0