Skip to content

Commit

Permalink
ignore authentication header on status.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Jun 16, 2021
1 parent 36971ea commit ed94da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/pkg/middleware/oidc_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ed94da5

Please sign in to comment.