Skip to content
Snippets Groups Projects
Commit 66477d1a authored by ale's avatar ale
Browse files

Tie the SSO service to the SSO URL

parent 41f0137e
Branches
No related tags found
No related merge requests found
......@@ -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 += "/"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment