forked from phoenix/litellm-mirror
(fix) better error message when no auth provider set ui
This commit is contained in:
parent
dbd947a366
commit
cfbafb4a5a
1 changed files with 1 additions and 1 deletions
|
@ -3027,7 +3027,7 @@ async def google_login(request: Request):
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||||
content={
|
content={
|
||||||
"error": "No SSO/Auth provider configured. See https://docs.litellm.ai/docs/proxy/ui"
|
"error": "No SSO/Auth provider configured. Please set your Auth Provider in .env. See https://docs.litellm.ai/docs/proxy/ui"
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue