-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.0
-
Component/s: authentication
-
Labels:None
The google auth backend hard-codes the https scheme into its redirect urls and so doesn't work with http. This happens because the redirect url sets the `_scheme` parameter to `https`. I I see that this change was made to allow google auth to work when airflow is run behind a proxy, but I think this fix isn't correct. Instead, proxies should be configured to set `X-Forwarded-Proto` to `https`, and Flask will set the scheme correctly.
- links to