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:
Timothy Jaeryang Baek 2025-02-18 19:31:24 -08:00 committed by GitHub
commit 886d756200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -546,6 +546,7 @@ async def signout(request: Request, response: Response):
if logout_url:
response.delete_cookie("oauth_id_token")
return RedirectResponse(
headers=response.headers,
url=f"{logout_url}?id_token_hint={oauth_id_token}"
)
else: