425show / fastapi_microsoft_identity

MIT License
38 stars 18 forks source link

fixed uncaught exeptions issue #4

Closed 4scht closed 2 years ago

4scht commented 2 years ago

Exceptions raised by __decode_JWT or __decode_B2C_JWT (e.g token expired) are never caught, resulting in a "500 Internal Server Error" response instead of a 401.