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

View File

@@ -5,4 +5,6 @@ is responsible for serving static files and oidc well-known endpoint `/.well-kno
We have removed the well-known middleware for OIDC and moved it
to the newly introduced static routes module in the proxy.
https://github.com/owncloud/ocis/issues/6095
https://github.com/owncloud/ocis/pull/8541

View File

@@ -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())