diff --git a/services/proxy/pkg/middleware/authentication.go b/services/proxy/pkg/middleware/authentication.go index c61207149..4f77f36b0 100644 --- a/services/proxy/pkg/middleware/authentication.go +++ b/services/proxy/pkg/middleware/authentication.go @@ -45,22 +45,22 @@ var ( } // _unprotectedPathPrefixes contains paths which don't need to be authenticated. _unprotectedPathPrefixes = [...]string{ - "/files", - "/data", - "/account", + "/files/", + "/data/", + "/account/", "/s/", "/external/spaces", "/apps/openidconnect/redirect", - "/settings", - "/user-management", - "/.well-known", - "/js", - "/css", - "/fonts", - "/icons", - "/themes", - "/signin", - "/konnect", + "/settings/", + "/user-management/", + "/.well-known/", + "/js/", + "/css/", + "/fonts/", + "/icons/", + "/themes/", + "/signin/", + "/konnect/", } )