Skip to content

Commit

Permalink
fixes #2341 Dynamic loading jwk with kid is not working if multiple s…
Browse files Browse the repository at this point in the history
…erviceIds are provided (#2342)
  • Loading branch information
stevehu authored Sep 19, 2024
1 parent edce763 commit 6a0b587
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ private JsonWebKey getJsonWebKeySetForToken(String kid, Object requestPathOrJwkS
for(String serviceId: jwkServiceIds) {
config = getJwkConfig(clientConfig, serviceId);
jwk = retrieveJwk(kid, config);
if(jwk != null) break;
}
} else {
throw new ConfigException("requestPathOrJwkServiceIds must be a string or a list of strings");
Expand Down

0 comments on commit 6a0b587

Please sign in to comment.