Skip to content

Conversation

@gschuurman
Copy link
Contributor

@gschuurman gschuurman commented Apr 29, 2025

Fixes: #49781
Fixes: #49705

Add back the Removed ProxyFix Middleware to allow Oauth2 authentication when using a reverse proxy like nginx or traefik.

When not using proxyFix the redirect_url incorectly gets set to http:// instead of the expected https://, This breaks many authentication flows, especially azure, which does not allow http:// redirect_urls for anything other than localhost.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Fixes Issues apache#49781 apache#49705

Add back the Removed ProxyFix Middleware to allow Oauth2 authentication
when using a reverse proxy like nginx or traefik.

When not using proxyFix the redirect_url incorectly gets set to http://
instead of the expected https://, This breaks many authentication flows,
especially azure, which does not allow http:// redirect_urls for
anything other than localhost.

Help is needed with adjusting the configuration from webserver to
api-server.
Add the original proxy_fix documentation back into the FAB provider
package and update the section to match fab instead of websever.
@vincbeck vincbeck merged commit 59d592f into apache:main Apr 30, 2025
65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[3.0.0] Removal of AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX is breaking FAB OAuth sign in SSO over EntraID not working anymore in version 3.0.0

3 participants