From 87ffee4a343227b547af7fa8f71805820079970d Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Sat, 29 Apr 2023 08:55:14 +0200 Subject: [PATCH] fix(handler/sso/proxy): proxy frontchannel logouts --- pkg/handler/handler_sso_proxy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/handler/handler_sso_proxy.go b/pkg/handler/handler_sso_proxy.go index 7485d7c..3f371e2 100644 --- a/pkg/handler/handler_sso_proxy.go +++ b/pkg/handler/handler_sso_proxy.go @@ -148,7 +148,8 @@ func (s *SSOProxy) LogoutCallback(w http.ResponseWriter, r *http.Request) { } func (s *SSOProxy) LogoutFrontChannel(w http.ResponseWriter, r *http.Request) { - http.NotFound(w, r) + r.URL.Path = paths.OAuth2 + paths.LogoutFrontChannel + s.SSOServerReverseProxy.ServeHTTP(w, r) } func (s *SSOProxy) LogoutLocal(w http.ResponseWriter, r *http.Request) {