rscarrera27/Flask-GraphQL-Auth

'str' object has no attribute 'decode'

PopBot opened this issue · 3 comments

When passing a simple string through the create_access_token and create_refresh_token methods, throws the following error:

image

I've tried passing in encoded data for the identifier, but that is unable to be processed with the following message:

image

I'm having this same exact issue! Is there still no solution?

Update: found the answer, just downgrade your PyJWT to 1.7.1

Just approved #27. this issue will be resolved by next release. until then, downgrading pyjwt version could be a solution 🙏

Just released 1.3.3. so close this