ashb closed pull request #3919: [AIRFLOW-3089] Drop hard-coded url scheme in
google auth redirect.
URL: https://github.com/apache/incubator-airflow/pull/3919
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/airflow/contrib/auth/backends/google_auth.py
b/airflow/contrib/auth/backends/google_auth.py
index bc7d552f59..ddbcb1222f 100644
--- a/airflow/contrib/auth/backends/google_auth.py
+++ b/airflow/contrib/auth/backends/google_auth.py
@@ -112,8 +112,7 @@ def login(self, request):
log.debug('Redirecting user to Google login')
return self.google_oauth.authorize(callback=url_for(
'google_oauth_callback',
- _external=True,
- _scheme='https'),
+ _external=True),
state=request.args.get('next') or request.referrer or None)
def get_google_user_profile_info(self, google_token):
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services