fastapi-jwt icon indicating copy to clipboard operation
fastapi-jwt copied to clipboard

Update authlib_backend.py to add exception

Open kour1er opened this issue 1 year ago • 2 comments

Added an additional check for BadSignatureError

Just a quick one line addition to check for a bad signature - without this check, if a token is sent an error happens.

kour1er avatar May 28 '24 16:05 kour1er

@k4black добрый день, не могли бы вы принять этот PR? очень хочется иметь этот фикс в новой версии. и большое спасибо за этот удобный инструмент!

Imbalanceone avatar Jan 10 '25 06:01 Imbalanceone

@kour1er add a catch-all for the base authlib_jose_errors.JoseError so issues like #50 won't happen on new exception types from jose.

HMaker avatar Jun 28 '25 04:06 HMaker