From 3c39d2f2f35a2df2fab3455d6c2f0c1cf6978a3e Mon Sep 17 00:00:00 2001 From: Wu Clan Date: Wed, 22 Oct 2025 18:58:36 +0800 Subject: [PATCH] Add Google OAuth2 callback to opera log exclusion (#882) --- backend/core/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/core/conf.py b/backend/core/conf.py index 7271ebcf..a082aa24 100644 --- a/backend/core/conf.py +++ b/backend/core/conf.py @@ -173,6 +173,7 @@ class Settings(BaseSettings): '/openapi', f'{FASTAPI_API_V1_PATH}/auth/login/swagger', f'{FASTAPI_API_V1_PATH}/oauth2/github/callback', + f'{FASTAPI_API_V1_PATH}/oauth2/google/callback', f'{FASTAPI_API_V1_PATH}/oauth2/linux-do/callback', ] OPERA_LOG_ENCRYPT_TYPE: int = 1 # 0: AES (性能损耗); 1: md5; 2: ItsDangerous; 3: 不加密, others: 替换为 ******