Daniel Rubenstein created AIRFLOW-3753:
------------------------------------------
Summary: Upgrade Google Oauth Backend from Flask Oauthlib to
Authlib
Key: AIRFLOW-3753
URL: https://issues.apache.org/jira/browse/AIRFLOW-3753
Project: Apache Airflow
Issue Type: Wish
Reporter: Daniel Rubenstein
[Airflow's contributed backed for Google
Authentication|https://github.com/apache/airflow/blob/master/airflow/contrib/auth/backends/google_auth.py]
relies on the python library [Flask
Oauthlib|https://github.com/lepture/flask-oauthlib], and is tied to having a
version greater than 0.9.1 ([see
setup.py|https://github.com/apache/airflow/blob/master/setup.py#L186]).
As of March 2018 (see [this
update|https://github.com/lepture/flask-oauthlib/commit/7a58b6d48a99a2d3aca4e887a4bb56458fcc6e46#diff-88b99bb28683bd5b7e3a204826ead112]),
[Authlib|https://github.com/lepture/authlib] (maintained by the same owner)
has been recommended as the replacement.
Since that time, external changes to Oauth have caused various breaks in builds
that are pinned to this version, as Flask-Oauthlib is deprecated at this point
and does not receive standard PyPI updates and other maintenance.
I'm wondering if the maintainers of the project would accept a PR that updates
the backend to use the newer library. I'd be happy to take a crack at it, just
want to make sure it's something that the community sees as worthwhile before
getting started.
Thanks!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)