diff --git a/lib/AuthModule.php b/lib/AuthModule.php index 8180dd4c..a0a38e0d 100644 --- a/lib/AuthModule.php +++ b/lib/AuthModule.php @@ -43,6 +43,7 @@ public function auth(IRequest $request) { $authHeader = $request->getHeader('Authorization'); if (strpos($authHeader, 'Bearer ') === false) { + \OC::$server->getLogger()->debug('No Authorization: Bearer header detected', ['app' => 'oauth2']); return null; }