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

Token Auth Example won't run with with itsdangerous > 2.0 #157

Closed
pmaresca opened this issue Feb 9, 2023 · 1 comment
Closed

Token Auth Example won't run with with itsdangerous > 2.0 #157

pmaresca opened this issue Feb 9, 2023 · 1 comment
Assignees
Labels

Comments

@pmaresca
Copy link

pmaresca commented Feb 9, 2023

Hey there, was just trying to run the token_auth.py example and it doesn't seem like the imports succeed with the latest version of itsdangerous. I seem to have 2.1.2 installed in my venv and it looks like they deprecated the serializer utilized in 2. https://itsdangerous.palletsprojects.com/en/2.0.x/jws/#itsdangerous.jws.JSONWebSignatureSerializer
Just thought you'd wanna know for future people trying to run your example.

@miguelgrinberg
Copy link
Owner

Thanks, yes, I should update that example to use pyjwt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants