Commit 62a48de8 authored by ale's avatar ale

Fix PathPrefix usage

parent ab608be7
Pipeline #4100 passed with stages
in 3 minutes and 31 seconds
......@@ -261,7 +261,7 @@ func NewSAMLIDP(config *Config) (http.Handler, error) {
h := idp.Handler()
root := mux.NewRouter()
root.HandlePrefix(ssoURL.Path, w.Wrap(h, svc, nil))
root.PathPrefix(ssoURL.Path).Handler(w.Wrap(h, svc, nil))
root.Handle(metadataURL.Path, h)
return root, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment