jwt.exceptions.DecodeError: It is required that you pass in a value for the “algorithms” argument wh
使用了PyJWT 2.0包导致的,直接pip3 install PyJWT==1.7.1就好了另外2.0版本令牌作为字符串而不是字节字符串返回,也会出现AttributeError: 'str' object has no attribute 'decode'报错PyJWT版本变更:https://pyjwt.readthedocs.io/en/latest/changelog.html#v2-0-0...
原创
2021-08-03 10:09:07 ·
1826 阅读 ·
1 评论