Skip to content

Commit 3c39d2f

Browse files
authored
Add Google OAuth2 callback to opera log exclusion (#882)
1 parent 1e01ffc commit 3c39d2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/core/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ class Settings(BaseSettings):
173173
'/openapi',
174174
f'{FASTAPI_API_V1_PATH}/auth/login/swagger',
175175
f'{FASTAPI_API_V1_PATH}/oauth2/github/callback',
176+
f'{FASTAPI_API_V1_PATH}/oauth2/google/callback',
176177
f'{FASTAPI_API_V1_PATH}/oauth2/linux-do/callback',
177178
]
178179
OPERA_LOG_ENCRYPT_TYPE: int = 1 # 0: AES (性能损耗); 1: md5; 2: ItsDangerous; 3: 不加密, others: 替换为 ******

0 commit comments

Comments
 (0)