Practice
in Laravel 8, if you use Passport, then when calling /oauth/authorize
an error occurs
ErrorException
Trying to get property 'headers' of non-object
if you simply disable VerifyCsrfToken
then you get a different error
Illuminate\Session\Middleware\StartSession::addCookieToResponse
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:217
This error with the session and the headers happened because I had not installed
composer require laravel/ui
for Laravel's own authentication
I do need it
I only need a pure API
Comments