decode_with_jwks failing when alg missing
ccakes opened this issue · 1 comments
ccakes commented
The published MSFT JWKs don't include the alg
value which according to the RFC is optional. This causes token.decode_with_jwks(&jwkset)
to always fail here:
Lines 164 to 167 in 2cbe6ed
Since the field is optional, something like this works to check it if the value is present.
If you'd accept this as a PR let me know
lawliet89 commented
Sure. Please submit a PR.