From d31f5b9e1572629c63fdbda7604b28f36e88ed59 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Wed, 28 Feb 2024 15:19:52 +0100 Subject: [PATCH] remove obsolete comment Signed-off-by: Christian Richter --- changelog/unreleased/remove-well-known-oidc-middleware.md | 2 ++ services/proxy/pkg/staticroutes/oidc_well-known.go | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/changelog/unreleased/remove-well-known-oidc-middleware.md b/changelog/unreleased/remove-well-known-oidc-middleware.md index 471db2d2a3..888dd40b40 100644 --- a/changelog/unreleased/remove-well-known-oidc-middleware.md +++ b/changelog/unreleased/remove-well-known-oidc-middleware.md @@ -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 + diff --git a/services/proxy/pkg/staticroutes/oidc_well-known.go b/services/proxy/pkg/staticroutes/oidc_well-known.go index 479977cfa9..3065ae10a3 100644 --- a/services/proxy/pkg/staticroutes/oidc_well-known.go +++ b/services/proxy/pkg/staticroutes/oidc_well-known.go @@ -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())