Commit 66477d1a authored by ale's avatar ale

Tie the SSO service to the SSO URL

parent 41f0137e
Pipeline #4098 passed with stages
in 3 minutes and 26 seconds
......@@ -236,7 +236,7 @@ func NewSAMLIDP(config *Config) (http.Handler, error) {
ssoURL.Path += "/login/"
metadataURL := *baseURL
metadataURL.Path += "/metadata"
svc := fmt.Sprintf("%s%s", baseURL.Host, baseURL.Path)
svc := fmt.Sprintf("%s%s", ssoURL.Host, ssoURL.Path)
if !strings.HasSuffix(svc, "/") {
svc += "/"
}
......
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