diff --git a/pkg/handler/handler_sso_proxy.go b/pkg/handler/handler_sso_proxy.go index 2fa7de9..7485d7c 100644 --- a/pkg/handler/handler_sso_proxy.go +++ b/pkg/handler/handler_sso_proxy.go @@ -133,7 +133,9 @@ func (s *SSOProxy) Login(w http.ResponseWriter, r *http.Request) { } func (s *SSOProxy) LoginCallback(w http.ResponseWriter, r *http.Request) { - http.NotFound(w, r) + ingressPath := s.GetPath(r) + login := url.LoginRelative(ingressPath, ingressPath) + http.Redirect(w, r, login, http.StatusFound) } func (s *SSOProxy) Logout(w http.ResponseWriter, r *http.Request) {