Closed altryne closed 9 years ago
Can you please run pip freeze
on your development virtualenv and paste the list of package versions in here? The current master of ItsDangerous still has TimedJSONWebSignatureSerializer
, so I'm not sure what's happening here.
https://github.com/mitsuhiko/itsdangerous/blob/master/itsdangerous.py
I can't reproduce this, so I'm going to close it. Please let me know if you run into it again.
Flask that run on my venv is version 2.1.1. That doesn't contain TimedJSONWebSignatureSerializer.
Looks like it was removed in 2.0.0. In my case downgrading itsdangerous<=2.0.0
helped as a quick fix although a real solution is suggested in the linked changelog.
Just ran into this issue. Shouldn't this be reopened @SteelPangolin ?
Following. I'm still not sure how to fix this without just downgrading Flask...
This is how we fixed it in actinia - I don't know if this helps because it is a specific use case.
Hey folks! We have forked and assumed maintainership of flask-oidc, with Patrick's agreement. The reference repo is now at https://github.com/fedora-infra/flask-oidc/. PyPI has been updated. There's a new version available, 2.0.x, that fixes this issue and rebases on Authlib. Some features have been dropped but it should be mostly compatible (see the changelog). Please open tickets in our tracker if you have issues upgrading.
from itsdangerous.serializer import Serializer
from itsdangerous.exc import BadSignature, BadData
Just importing
from flask_oidc import OpenIDConnect
fails withAnd it seems that
TimedJSONWebSignatureSerializer
is not even included anymore in ItsDangerous anymore according to http://pythonhosted.org/itsdangerous/