remove obsolete comment

Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
Christian Richter
2024-02-28 15:19:52 +01:00
parent 0f522cd8ea
commit d31f5b9e15
2 changed files with 2 additions and 3 deletions
@@ -9,9 +9,6 @@ var (
wellKnownPath = "/.well-known/openid-configuration"
)
//oidcURL, _ := url.Parse(oidcISS)
//oidcURL.Path = path.Join(oidcURL.Path, wellKnownPath)
// OIDCWellKnownRewrite is a middleware that rewrites the /.well-known/openid-configuration endpoint for external IDPs.
func (s *StaticRouteHandler) OIDCWellKnownRewrite(w http.ResponseWriter, r *http.Request) {
wellKnownRes, err := s.OidcHttpClient.Get(s.oidcURL.String())