mirror of
https://github.com/open-webui/open-webui
synced 2025-02-23 13:51:07 +00:00
Merge pull request #10285 from the-c0d3br34k3r/issue8885_auth
fix: Fixed an issue with clearing application cookies during OAuth signout
This commit is contained in:
commit
886d756200
@ -546,6 +546,7 @@ async def signout(request: Request, response: Response):
|
|||||||
if logout_url:
|
if logout_url:
|
||||||
response.delete_cookie("oauth_id_token")
|
response.delete_cookie("oauth_id_token")
|
||||||
return RedirectResponse(
|
return RedirectResponse(
|
||||||
|
headers=response.headers,
|
||||||
url=f"{logout_url}?id_token_hint={oauth_id_token}"
|
url=f"{logout_url}?id_token_hint={oauth_id_token}"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user