ignore authentication header on status.php

This commit is contained in:
Willy Kloucek
2021-06-16 16:59:11 +02:00
parent 36971ea28b
commit ed94da5104
+1 -1
View File
@@ -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
}