diff --git a/app/src/Middleware/CORS.php b/app/src/Middleware/CORS.php index 718e18d..09006c5 100644 --- a/app/src/Middleware/CORS.php +++ b/app/src/Middleware/CORS.php @@ -14,7 +14,7 @@ class CORS if ($request->getMethod() === 'OPTIONS') { return $this->responseFactory->createResponse() ->withHeader('Access-Control-Allow-Origin', '*') - ->withHeader('Access-Control-Allow-Methods', 'POST,GET,OPTIONS'); + ->withHeader('Access-Control-Allow-Methods', 'POST,GET,OPTIONS,AUTHORIZATION'); } return $handler->handle($request); }