bottle-jwt icon indicating copy to clipboard operation
bottle-jwt copied to clipboard

token is a str, so str.decode throws an error

Open wiletcote opened this issue 7 months ago • 0 comments

auth.py line 227: return {"token": token.decode("utf-8"), "expires": str(expires)}

throws an error on token.decode("utf-8") because token is already a str. Looks like this is due to a later version of jwt module.

wiletcote avatar Jul 10 '24 20:07 wiletcote