Skip to content

Conversation

gerwout
Copy link

@gerwout gerwout commented Mar 24, 2022

Newer versions of Itsdangerous (i.e. 2.1.1) no longer have support for JWT encoding and/or decoding (https://github.com/pallets/itsdangerous/blob/d1c85670cce70d81f9949619434daf8c0b9cd37e/src/itsdangerous/jws.py#L23-L30). This is a breaking change for flask-oidc. This PR replaces the itsdangerous functionality with PyJWT.

gerwout added 2 commits March 24, 2022 13:49
Itsdangerous no longer has JWT encoding or decoding functionality with
newer versions (i.e. 2.1.1). This will completely break flask_oidc
@billsteve
Copy link

Very nice.

@palewire
Copy link

palewire commented Jun 8, 2022

It would be great to get this merged and released.

ric-evans added a commit to WIPACrepo/mou-dashboard that referenced this pull request Aug 19, 2022
@jonnydford
Copy link

Is there anything needed to get this PR merged?

@tapanhalani
Copy link

tapanhalani commented Sep 14, 2022

If everything looks good, please merge this PR asap. We use flask_oidc (1.4.0) with superset which breaks due to this.

@khteh
Copy link

khteh commented Sep 14, 2022

This project / repo needs a new owner.

This removes duplication and pulls in the itsdangerous -> PyJWT change into setup.pp
This allow installs from the source package to work
@rvhonorato
Copy link

rvhonorato commented Oct 24, 2022

Any idea when this will be merged? @puiterwijk

Reuse requirements.txt to complete PyJWT switch
@gerwout
Copy link
Author

gerwout commented Nov 2, 2022

@ecederstrand sorry for my late response, I overlooked your merge request, but I have merged your changes now as well. Would be nice if this PR can now be merged into master

@Panagiss
Copy link

Panagiss commented Nov 7, 2022

@puiterwijk This needs a merge ASAP!

@Kalzau
Copy link

Kalzau commented Nov 7, 2022

@puiterwijk It would be awesome if you could merge this PR :)

@benpocklingtonhes
Copy link

@puiterwijk Please can you merge this

@christian-hawk
Copy link

We should probably consider this repo unmaintained, fork it and fix it.

pypingou pushed a commit to Pagure/pagure that referenced this pull request Feb 13, 2023
'flask-oidc' 1.4.0 (latest) still use 'JSONWebSignatureSerializer' which was removed in 'itsdangerous' v2.1.
Until puiterwijk/flask-oidc#144 is merged and a new version of flask-oidc is released,
it's necessary to pin 'itsdangerous' to a version below 2.1 if 'flask-oidc' is used.

References:
puiterwijk/flask-oidc#147
https://itsdangerous.palletsprojects.com/en/2.1.x/changes/#version-2-1-0
@zbhuiyan
Copy link

zbhuiyan commented Mar 1, 2023

@ramizarif @puiterwijk can we have this merged please?

@gautierrog
Copy link

Any chance to see this MR merged?

@frozenpandaman
Copy link

Still waiting…

@rvhonorato
Copy link

still waiting :)

@benjaminknox
Copy link

Please merge!

@abompard
Copy link
Collaborator

Hello everyone, this version of flask-oidc is abandoned. It has been forked and is now maintained at https://github.com/fedora-infra/flask-oidc/ . The new version has a few breaking changes though, please read the docs if you upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.