Styria-Digital / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
https://styria-digital.github.io/django-rest-framework-jwt/
MIT License
191 stars 57 forks source link

AttributeError: 'str' object has no attribute 'decode'. #76

Closed DmytroLitvinov closed 3 years ago

DmytroLitvinov commented 3 years ago

With new major release of PyJWT v2, we should add compatibility to it.

Helpful link: https://github.com/SimpleJWT/django-rest-framework-simplejwt/pull/329 and all links in it.

DmytroLitvinov commented 3 years ago

I don't know who to tag, but I am ready to provide a PR. Just wanna make sure that it will be reviewed and merged and new minor version will be released.

palfrey commented 3 years ago

Fixed by #91 I think?

fitodic commented 3 years ago

Possibly. I've released 1.19.0 so anyone who's using it can try it out. I'll close this issue for now. If this issue reappears, feel free to reopen this issue.