jpadilla / pyjwt

JSON Web Token implementation in Python
https://pyjwt.readthedocs.io
MIT License
5.08k stars 679 forks source link

Improve PyJWKSet error accuracy #786

Closed JulianMaurin closed 2 years ago

JulianMaurin commented 2 years ago

Hello :wave:

This RP is intended to correct the problem related to issue #754. I took the opportunity to add some typing and to simplify the testcase a bit.

I feel like we could also bring some key payload validation at the PyJWK constructor level (in another PR).