-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(bugfix): don't set current clients when no OIDC providers are config…
…ured by resetting the AuthStatusHandler.currentClientID to an empty string when the Authentication.Spec.Type is not set to OIDC. Additionally, protect against a degraded state when AuthStatusHandler.currentClientID is set but there is no evidence of OIDC providers being configured in the spec by only adding current clients when both the currentClientID is set and there is evidence of OIDC providers being configured. Add a warning log when we notice the currentClientID is set but there is no evidence of OIDC providers being configured. Fixes [OCPBUGS-44953](https://issues.redhat.com/browse/OCPBUGS-44953) Signed-off-by: everettraven <[email protected]>
- Loading branch information
1 parent
dbb03bb
commit fe472d1
Showing
3 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters