From 0d2b7e350b3e61a99ef75523e99b064003015dca Mon Sep 17 00:00:00 2001 From: David Christofas Date: Wed, 24 Aug 2022 16:32:25 +0200 Subject: [PATCH] add missing unprotected paths --- changelog/unreleased/missing-unprotected-paths.md | 5 +++++ services/proxy/pkg/middleware/authentication.go | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 changelog/unreleased/missing-unprotected-paths.md diff --git a/changelog/unreleased/missing-unprotected-paths.md b/changelog/unreleased/missing-unprotected-paths.md new file mode 100644 index 00000000000..80bc4f57d81 --- /dev/null +++ b/changelog/unreleased/missing-unprotected-paths.md @@ -0,0 +1,5 @@ +Enhancement: Add missing unprotected paths + +Added missing unprotected paths for the text-editor, preview, pdf-viewer and draw-io to the authentication middleware. + +https://github.com/owncloud/ocis/pull/4454 diff --git a/services/proxy/pkg/middleware/authentication.go b/services/proxy/pkg/middleware/authentication.go index 99dced8d681..b73dd215a07 100644 --- a/services/proxy/pkg/middleware/authentication.go +++ b/services/proxy/pkg/middleware/authentication.go @@ -62,6 +62,10 @@ var ( "/themes/", "/signin/", "/konnect/", + "/text-editor/", + "/preview/", + "/pdf-viewer/", + "/draw-io/", } )