jaytaytay

Results 1 comments of jaytaytay

After reading [this](https://stackoverflow.com/questions/48570320/how-to-send-and-receive-jwt-token) I've added these 3 lines to the end of `encode_access_token` in `models.user.py` ``` token = jwt.encode(payload, key, algorithm="HS256") if isinstance(token, str): token = token.encode("UTF-8") ``` which resolved...