You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because of an update to pyjwt which is an underlying dependency. There were breaking changes and this package is unfortunately not pinned to a particular version. It should be easy enough to fix but the last issue that was resolved in this project was 6 months ago so I wonder if it's even an active project anymore.
The fastest way to fix this for now would be to specify pyjwt==1.7.1 in your project's dependencies, and that should be used by django-cognito-jwt.
you can use the files (validator.py and backend.py) directly in your project without installing this library and replace the ExpiredSignature with ExpiredSignatureError
I am getting the following error (Presumable after token is Expired):
WrappedAttributeError at /api/ module 'jwt' has no attribute 'ExpiredSignature'
The package was working perfectly for 2-3 months but this has started appearing recently.
The text was updated successfully, but these errors were encountered: