Closed
Description
Summary
We should add a strategy where Jwt decoders can delegate to other Jwt decoders based upon the algorithm that is in the JWT that was passed into it. This would allow supporting multiple algorithms returned by an IdP as discussed in #5465 (comment)
A possible way to do this would be to have a JwtDecoder
implementation that calls other JwtDecoder
s, though note this might require decoding the JWT twice.