From ed94da51046e803ae22ea7767d349f81c95732a7 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 16 Jun 2021 16:59:11 +0200 Subject: [PATCH] ignore authentication header on status.php --- proxy/pkg/middleware/oidc_auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/pkg/middleware/oidc_auth.go b/proxy/pkg/middleware/oidc_auth.go index f05aaef2090..1b868223e55 100644 --- a/proxy/pkg/middleware/oidc_auth.go +++ b/proxy/pkg/middleware/oidc_auth.go @@ -155,7 +155,7 @@ func (m oidcAuth) shouldServe(req *http.Request) bool { // todo: looks dirty, check later // TODO: make a PR to coreos/go-oidc for exposing userinfo endpoint on provider, see https://github.com/coreos/go-oidc/issues/248 - for _, ignoringPath := range []string{"/konnect/v1/userinfo"} { + for _, ignoringPath := range []string{"/konnect/v1/userinfo", "/status.php"} { if req.URL.Path == ignoringPath { return false }