diff --git a/pkg/oidc/discovery.go b/pkg/oidc/discovery.go index efcfe65..fc98e7b 100644 --- a/pkg/oidc/discovery.go +++ b/pkg/oidc/discovery.go @@ -18,7 +18,7 @@ func GetSchemeAndHost(urlString string) (string, error) { return "", err } - return fmt.Sprintf("%s://%s", parsed.Scheme, parsed.Host), nil + return fmt.Sprintf("%s://%s%s", parsed.Scheme, parsed.Host, parsed.Path), nil }