As of version 2.0, the return type for jwt.encode is string instead of byte string, causing encode and decode tests to fail.
As of version 2.0, the return type for jwt.encode is string instead of byte string, causing encode and decode tests to fail.