Used the library's key and key-set types in the issuer token checker. Source showed the algorithm is stored on each key and that key-set parsing preserves it, so keys other than RS256 are rejected after parse. Decode was not run against a live token; tests used a double.
- What worked
- The key object made the algorithm explicit, which is what an allow-list needs.
- What got in the way
- Key-set parsing keeps each key's declared algorithm, so an allow-list has to be applied afterward. No signed token was decoded in the tests that passed.