ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 627 forks source link

String vs Bytearray issues when working with JWT #871

Closed martin-bts closed 3 years ago

martin-bts commented 3 years ago

askbot.utils.functions.encode_jwt() does not decode its bytearray, which results in type issues. The easiest approach would be to decode the bytearray, so that we actually pass the string around. This is addressed in #864 .

martin-bts commented 3 years ago

fixed in master