mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
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:
@@ -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'
|
||||
|
||||
##################################################
|
||||
|
||||
Reference in New Issue
Block a user