Fix the OAuth2 link acquisition in HTTPS (#881)

* Fix the OAuth2 link acquisition in HTTPS

* Update OAUTH2_BACKEND_URL to OAUTH2_BACKEND_BASE_URL
This commit is contained in:
Wu Clan
2025-10-22 18:52:40 +08:00
committed by GitHub
parent f4b1c43b55
commit 1e01ffc3d9
5 changed files with 11 additions and 4 deletions
+1
View File
@@ -228,6 +228,7 @@ class Settings(BaseSettings):
OAUTH2_LINUX_DO_CLIENT_SECRET: str
# 基础配置
OAUTH2_BACKEND_BASE_URL: str = 'http://127.0.0.1:8000'
OAUTH2_FRONTEND_REDIRECT_URI: str = 'http://localhost:5173/oauth2/callback'
##################################################