2.10.1 is not backward compatible #1027
shuhaib-aot
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The latest version of PyJWT is not backward compatible with older versions in certain cases. For example, if one application is generating tokens using PyJWT version 2.9.0 and includes the jti claim as a number, another application using the latest PyJWT version will encounter an error when attempting to decode these tokens. This is due to stricter validation in the newer version, which expects jti to be a string.
This lack of compatibility could cause issues in production environments where different services rely on different PyJWT versions. It would be helpful to provide a compatibility mode or clear documentation on handling such cases to ensure seamless integration across applications.
Beta Was this translation helpful? Give feedback.
All reactions