Skip to content

fix: set jwks_cached_at #1039

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

Merged
merged 3 commits into from
Mar 22, 2025
Merged

fix: set jwks_cached_at #1039

merged 3 commits into from
Mar 22, 2025

Conversation

kangmingtay
Copy link
Member

@kangmingtay kangmingtay commented Mar 21, 2025

What kind of change does this PR introduce?

  • Update fetchJwk to refetch the JWKs if the cache is stale
  • Add tests for various scenarios

@kangmingtay kangmingtay force-pushed the km/add-ttl-getclaims branch 2 times, most recently from 545ae14 to 1545665 Compare March 21, 2025 15:03
@kangmingtay kangmingtay force-pushed the km/add-ttl-getclaims branch from 1545665 to 4ac18e1 Compare March 21, 2025 15:32
Copy link
Member Author

@kangmingtay kangmingtay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rerun dogfooding ci

@kangmingtay kangmingtay merged commit 9bdc023 into master Mar 22, 2025
6 checks passed
@kangmingtay kangmingtay deleted the km/add-ttl-getclaims branch March 22, 2025 00:53
kangmingtay pushed a commit that referenced this pull request Mar 24, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.69.0](v2.68.0...v2.69.0)
(2025-03-22)


### Features

* introduce getClaims method to verify asymmetric JWTs
([#1030](#1030))
([daa2669](daa2669))


### Bug Fixes

* assert type in `decodeJWTPayload`
([#1018](#1018))
([3d80039](3d80039))
* set jwks_cached_at
([#1039](#1039))
([9bdc023](9bdc023))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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