From d5e00845c6526ecccdc423409eb8d0db9fe75f55 Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Thu, 10 Jul 2025 14:46:51 -0700 Subject: [PATCH] Revert "Merge pull request #27060 from overleaf/em-log-oauth-authenticate-errors" (#27062) This reverts commit 32bb3c66b61d0de8cbbfe1da08042f06b4f4342a, reversing changes made to 5e87b704cd90478aedc8d8befa0aa5787a53177b. Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com> GitOrigin-RevId: 10b51500e3429a637dc76e3cec7d6b2764708ddb --- .../src/Features/Authentication/AuthenticationController.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/web/app/src/Features/Authentication/AuthenticationController.js b/services/web/app/src/Features/Authentication/AuthenticationController.js index c321ce3edf..7a97d2ac9c 100644 --- a/services/web/app/src/Features/Authentication/AuthenticationController.js +++ b/services/web/app/src/Features/Authentication/AuthenticationController.js @@ -392,10 +392,6 @@ const AuthenticationController = { req.oauth_user = token.user next() } catch (err) { - logger.warn( - { errName: err.name, errMessage: err.message }, - 'OAuth authenticate error' - ) if ( err.code === 400 && err.message === 'Invalid request: malformed authorization header'