mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
fix signout redirect for oauth
This commit is contained in:
parent
e1efd54a70
commit
bb0176085d
1 changed files with 1 additions and 1 deletions
|
|
@ -687,7 +687,7 @@ async def signout(request: Request, response: Response):
|
|||
status_code=200,
|
||||
content={
|
||||
"status": True,
|
||||
"redirect_url": f"{logout_url}?id_token_hint={oauth_id_token}",
|
||||
"redirect_url": f"{logout_url}?id_token_hint={oauth_id_token}" + (f"&post_logout_redirect_uri={WEBUI_AUTH_SIGNOUT_REDIRECT_URL}" if WEBUI_AUTH_SIGNOUT_REDIRECT_URL else ""),
|
||||
},
|
||||
headers=response.headers,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue