mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10285] [MERGED] fix: Fixed an issue with clearing application cookies during OAuth signout #9283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10285
Author: @the-c0d3br34k3r
Created: 2/18/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @tjbck
Base:
dev← Head:issue8885_auth📝 Commits (1)
6c6be5dFixed an issue with clearing application cookies during OAuth signout📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/auths.py(+1 -0)📄 Description
Pull Request Checklist
Discussion: https://github.com/open-webui/open-webui/discussions/9679 and #8885.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
During the OAuth signout flow, although the
tokenandoauth_id_tokencookies were marked for deletion, a new RedirectResponse is created and returned. This does not contain the header info from the he Response object used to mark the cookies to be deleted. Hence the cookies remained. Fixed this by re-using the headers from the other Response object.Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.