forked from phoenix/litellm-mirror
(fix) proxy set global general_settings allow_user_auth
This commit is contained in:
parent
8e65f83380
commit
48bd58f007
1 changed files with 1 additions and 0 deletions
|
@ -3089,6 +3089,7 @@ async def login(request: Request):
|
||||||
@app.get("/sso/callback", tags=["experimental"])
|
@app.get("/sso/callback", tags=["experimental"])
|
||||||
async def auth_callback(request: Request):
|
async def auth_callback(request: Request):
|
||||||
"""Verify login"""
|
"""Verify login"""
|
||||||
|
global general_settings
|
||||||
microsoft_client_id = os.getenv("MICROSOFT_CLIENT_ID", None)
|
microsoft_client_id = os.getenv("MICROSOFT_CLIENT_ID", None)
|
||||||
google_client_id = os.getenv("GOOGLE_CLIENT_ID", None)
|
google_client_id = os.getenv("GOOGLE_CLIENT_ID", None)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue