[Vuejs]-Laravel Passport /oauth routes work but not /api

-1👍

Add this code in your app/Http/Kernel.php

'web' => [
    // Other middleware...
    \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
],

Leave a comment