Skip to content
Discussion options

You must be logged in to vote

Hi @TimmFitschen !

There's a minor error in how thetestJwkSetParsing() method is written, and it's likely due to an easy-to-confuse difference between RFC 7517 JSON idioms and Java Map and Set idioms.

(Please excuse the depth of detail below, I'm writing it for any future casual reader that might come across this question regardless of their Java experience).

An RFC 7517 JWK Set is not itself directly a JSON list/array/set of JWKs. It is technically a JSON Object (what we would call in Java a 'map') that has a JSON keys member, and that keys member is itself indeed a JSON array of JWK elements.

The reason for this is that a JSON array has no direct capability of representing metadata for …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TimmFitschen
Comment options

@lhazlewood
Comment options

Answer selected by TimmFitschen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants