From 79ebbc2d9fbb63d00f70dc5f9d35a0c2ba0f7b5f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 4 Jan 2025 14:50:00 -0700 Subject: [PATCH] Update VerifyCsrfToken middleware, add oauth token. Fixes #5426 --- app/Http/Middleware/VerifyCsrfToken.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php index f44fd7ac4..145c629a3 100644 --- a/app/Http/Middleware/VerifyCsrfToken.php +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -12,6 +12,7 @@ class VerifyCsrfToken extends Middleware * @var array */ protected $except = [ - '/api/v1/*' + '/api/v1/*', + 'oauth/token' ]; }