getting below error
import jwt return jsonify({'token': token.decode('utf-8', algorithms=["HS256"])})
AttributeError: 'str' object has no attribute 'decode'
PyJWT --> 2.1.0 and want to downgrade to 1.7.0
Where this issue I won't see.
getting below error
import jwt return jsonify({'token': token.decode('utf-8', algorithms=["HS256"])})
AttributeError: 'str' object has no attribute 'decode'
PyJWT --> 2.1.0 and want to downgrade to 1.7.0
Where this issue I won't see.