ory / oathkeeper

A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=hydra
Apache License 2.0
3.24k stars 357 forks source link

feat: support token rotation in ID token mutator #1119

Closed aeneasr closed 1 year ago

aeneasr commented 1 year ago

Previously, only one JWK may be returned by the JWKS URL. This made token rotation impossible. This patch allows for multiple keys to be returned by the JWKS URL and the first key found will be used for signing.

Related issue(s)

Checklist

Further Comments

codecov[bot] commented 1 year ago

Codecov Report

Merging #1119 (51be901) into master (91ae714) will not change coverage. The diff coverage is 0.00%.

:exclamation: Current head 51be901 differs from pull request most recent head 8605cc1. Consider uploading reports for the commit 8605cc1 to get more accurate results

@@           Coverage Diff           @@
##           master    #1119   +/-   ##
=======================================
  Coverage   78.17%   78.17%           
=======================================
  Files          80       80           
  Lines        3853     3853           
=======================================
  Hits         3012     3012           
  Misses        566      566           
  Partials      275      275           
Impacted Files Coverage Δ
credentials/signer_default.go 63.26% <0.00%> (ø)