Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply go-oidc patch to remove cache-control of oidc tokens #72

Open
wants to merge 1 commit into
base: release-1.28-dd-v1.28.11-dd.1
Choose a base branch
from

Conversation

amardomingo
Copy link
Member

This removes the dependency on github.com/pquerna/cachecontrol and brings the package more inline with the strategy from the OpenID Spec for rotation.

https://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys

Apply fromat-patch from coreos/go-oidc#259

This refreshes the keys from the oidc remote if the kid of the token doesn't match, and should help with oidc keys being rotated earlier than expected.

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


This removes the dependency on github.com/pquerna/cachecontrol and
brings the package more inline with the strategy from the OpenID Spec
for rotation.

https://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys
@amardomingo amardomingo changed the base branch from release-1.28-dd-v1.28.11-dd.2 to release-1.28-dd-v1.28.11-dd.1 August 23, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants