Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.15.1] itsdangerous rasies BadSignature when loading token using TimedJSONWebSignatureSerializer #1489

Closed
iROCKBUNNY opened this issue Mar 23, 2019 · 2 comments

Comments

@iROCKBUNNY
Copy link

No such issue with Werkzeug==0.14.1

in:

data = serial.loads(token)

rasies:

itsdangerous.exc.BadSignature: Signature b"*********" does not match
@davidism
Copy link
Member

davidism commented Mar 23, 2019

Werkzeug does not affect itsdangerous.

@iROCKBUNNY
Copy link
Author

Sorry, it turned out to be a decoder issue on my side. Just added .decode('ascii') to serial.dump(json_data) and saved my day!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants