From 8674edc23e30452694f105955cbc916efaf898ad Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 9 Jan 2024 16:34:41 -0500 Subject: [PATCH] correctly filter the pkce cookie by name --- endpoints/publicProxy/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/publicProxy/http.go b/endpoints/publicProxy/http.go index 3ae25b11..55747941 100644 --- a/endpoints/publicProxy/http.go +++ b/endpoints/publicProxy/http.go @@ -375,7 +375,7 @@ func deleteZrokCookies(w http.ResponseWriter, r *http.Request) { // JWT to ensure it matches the requested share and will send the client back to the OAuth provider if it does not // match. for _, cookie := range cookies { - if cookie.Name != "zrok-access" || cookie.Domain != "pkce" { + if cookie.Name != "zrok-access" || cookie.Name != "pkce" { r.AddCookie(cookie) } }