Commit 41f0137e authored by ale's avatar ale

Fix the /login/ URL to have a slash, to limit SSO to it

parent 3badc383
Pipeline #4097 passed with stages
in 3 minutes and 22 seconds
......@@ -233,7 +233,7 @@ func NewSAMLIDP(config *Config) (http.Handler, error) {
return nil, err
}
ssoURL := *baseURL
ssoURL.Path += "/login"
ssoURL.Path += "/login/"
metadataURL := *baseURL
metadataURL.Path += "/metadata"
svc := fmt.Sprintf("%s%s", baseURL.Host, baseURL.Path)
......
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