pyjwt · pyjwt/InvalidSubjectError
InvalidSubjectError
InvalidSubjectError
Raised when a token's sub (subject) claim is not a string, or doesn't match the expected subject value passed to jwt.decode(). Indicates the token identifies a different principal than the one the caller expected.