Git Product home page Git Product logo

Comments (19)

khteh avatar khteh commented on July 16, 2024 6

How long can you stay in this deprecated functionality? Instead of going backward, this library should be updated to use proper library as described here:

https://itsdangerous.palletsprojects.com/en/2.1.x/changes/
https://docs.authlib.org/en/latest/jose/jws.html

from flask-oidc.

marcelrend avatar marcelrend commented on July 16, 2024 6

@puiterwijk could this PR please be merged and released?

from flask-oidc.

gcalmettes avatar gcalmettes commented on July 16, 2024 5

@khteh you can install the changes introduced by #144 by specifying directly the MR or the commit you want in your pip install command.

e.g.: pip install git+https://github.com/puiterwijk/flask-oidc.git@b10e6bf881a3fe0c3972e4093648f2b77f32a97c

On our end, we are using a custom security manager for Airflow to connect using OIDC, which relies on flask-oidc underneath (https://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-openid). Because the dependency on itsdangerous is not pinned, the latest build broke the oidc workflow to connect to Airflow, but adding the latest commit of #144 as dependency in our docker build (command above) fixed it.

Note that pip install git+https://github.com/puiterwijk/flask-oidc.git@refs/pull/144/head as specified in #152 would also work if you don't want to freeze to a specific commit and benefit from the update made to the MR.

from flask-oidc.

Nixellion avatar Nixellion commented on July 16, 2024 4

So it's 2023, 4 months later, is this still the issue and is it not yet updated?

from flask-oidc.

macmule avatar macmule commented on July 16, 2024 3

Came here hoping for a fix too.

from flask-oidc.

Mikaciu avatar Mikaciu commented on July 16, 2024 2

Hello,
This class has been removed in itsdangerous 2.1.0 : https://itsdangerous.palletsprojects.com/en/2.1.x/changes/#version-2-1-0

It was mentioned in #3 ...

In your Pipfile, could you please add itsdangerous = "<2.1" ?

from flask-oidc.

gcalmettes avatar gcalmettes commented on July 16, 2024 2

@khteh well, one would need to have the proper rights on the repo for that, so this decision relies on @puiterwijk’s approval of the PR.
In the meantime targeting the code of the PR for the install is a workaround.

from flask-oidc.

nebucadnezzar avatar nebucadnezzar commented on July 16, 2024 2

if it fixed, why dont you get updated?

from flask-oidc.

gcalmettes avatar gcalmettes commented on July 16, 2024 1

Sorry, I mixed the Gitlab’s way of defining things. MR = Merge request (which is Gitlab’s denomination for Pull Request).

from flask-oidc.

khteh avatar khteh commented on July 16, 2024 1

For those using pipenv: pipenv install git+https://github.com/puiterwijk/flask-oidc.git@refs/pull/144/head#egg=flask-oidc

from flask-oidc.

ecederstrand avatar ecederstrand commented on July 16, 2024 1

Yes. See #147 (comment)

from flask-oidc.

Mikaciu avatar Mikaciu commented on July 16, 2024

I honestly don't know, I had the same issue several days ago and thought it would be helpful to share ;)

from flask-oidc.

ecederstrand avatar ecederstrand commented on July 16, 2024

Apparently fixed in #144

from flask-oidc.

gcalmettes avatar gcalmettes commented on July 16, 2024

confirming that installing #144 fixes it.

from flask-oidc.

khteh avatar khteh commented on July 16, 2024

Fixed? Install? What do you mean and how? #144 is not even merged yet!?

from flask-oidc.

khteh avatar khteh commented on July 16, 2024

What stops you from merging and releasing the fix as a new version?

from flask-oidc.

khteh avatar khteh commented on July 16, 2024

Ok. Thanks. BTW, what's MR?

from flask-oidc.

frafful avatar frafful commented on July 16, 2024

Are there any possible workaround this issue? It seems it will take a while to merge the fix to master.

from flask-oidc.

frozenpandaman avatar frozenpandaman commented on July 16, 2024

Still waiting on a fix…

from flask-oidc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.