mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-06 16:36:51 +00:00
fix(handler/sso/proxy): redirect callback requests to login
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user