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.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire