Closed this issue 4 years ago · 1 comments
Haven't looked too far into this... but it looks like pyJWT is now returning a str from encode(..) rather than a bytes object. I suggest removing the .decode('utf-8') here
str
encode(..)
bytes
.decode('utf-8')
https://github.com/webstack/django-jwt-auth