diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 9466778b..9335753b 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -3,6 +3,7 @@ namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; +use Laravel\Passport\Http\Middleware\CheckClientCredentials; class Kernel extends HttpKernel { @@ -64,5 +65,6 @@ class Kernel extends HttpKernel 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + 'client' => CheckClientCredentials::class, ]; }