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 authored and GitHub committed 2025-02-18 19:31:24 -08:00
commit 886d756200
1 file changed
+1
+1
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: