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
After version 0.12.x, the JWT sub field is mandated to use the string type, which has led to failures in the service's JWT generation and verification. #1027
After our project upgraded jjwt to version 0.12.x, we found that the new version of jjwt enforces validation of the sub field in the payload to be of string type. This has caused failures in our JWT generation and verification, as our current JWT payload's sub field is of long type.
Background: We provide a general authentication service for developers, which covers a large number of applications and users. If we hastily modify the JWT generation rules, it will lead to incompatibility issues for the callers. Meanwhile, it would be very difficult for us to notify all callers to troubleshoot and rectify the problem.
Is it possible to enable the JWT issuance method where the sub field is of long type?