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

*: remove Cache-Control checks from key rotation strategy #282

Closed
wants to merge 1 commit into from

Conversation

115100
Copy link

@115100 115100 commented Dec 3, 2020

This is a cherry-pick of #259 (minus go.{mod,sum} changes) onto v2.

We need this as the bug fix is only in the non-tagged v3 branch.

Closes #272.

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
@mikedanese
Copy link
Collaborator

The reason this was held back is because it does change behavior for existing APIs. What is preventing you from upgrading to v3?

@115100
Copy link
Author

115100 commented Jan 6, 2021

The reason this was held back is because it does change behavior for existing APIs.

Agreed, but the current behaviour in v2 essentially means we have to restart whenever our OIDC provider rotates their keys.

What is preventing you from upgrading to v3?

This is probably preferable but v3 is untagged right now. Can a release be tagged then?

@ericchiang
Copy link
Collaborator

I sent a PR to update the README (#285), but I think we're basically good to tag v3 otherwise.

@ericchiang
Copy link
Collaborator

@ericchiang ericchiang closed this Jan 11, 2021
@115100
Copy link
Author

115100 commented Jan 11, 2021

Amazing, thanks!

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.

Remove Cache-Control checks from key rotation strategy
3 participants