singingwolfboy / flask-dance

Doing the OAuth dance with style using Flask, requests, and oauthlib.
https://pypi.python.org/pypi/Flask-Dance/
MIT License
1.01k stars 158 forks source link

flask-dance 6.0.0 incompatable with Flask >=2.2.0 #396

Closed rez10191 closed 2 years ago

rez10191 commented 2 years ago

Hello,

Flask 2.2.0 was released today. This release included this change list: https://github.com/pallets/flask/commit/0b2f809f9b56861dae3ae5154d73b4afaf632a0a which removes the _lookup_app_object function that is imported from flask_dance/contrib/google.py, as well as many other contrib modules by the looks of it. The function was properly marked as a private.

Thanks for your great work on this project!

Richard Zuber

BlitzJB commented 2 years ago

Faced the same issue! @rez10191 Can you point me in the general direction of a workaround? I could put some time into this and submit a PR!

Edit: #397 Is my fix

singingwolfboy commented 2 years ago

I just released Flask-Dance 6.1.0, which switches to using flask.g for storing information, as recommended by the Flask release notes. Thanks for the heads-up about this change!