Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

OIDC auth request failure #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/proxy/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (p *Proxy) withAuthenticateRequest(handler http.Handler) http.Handler {
// Auth request and handle unauthed
info, ok, err := p.oidcRequestAuther.AuthenticateRequest(req)
if err != nil {
klog.V(6).Infof("OIDC authenticate request failed due to: %q", err)
// Since we have failed OIDC auth, we will try a token review, if enabled.
tokenReviewHandler.ServeHTTP(rw, req)
return
Expand Down