-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:corearea:webserverWebserver related IssuesWebserver related Issueskind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
3.0.0
If "Other Airflow 2 version" selected, which one?
No response
What happened?
FAB is poorly managing redirect_uri creation while initiating authentication to an oauth provider.
redirect_uri is using http instead of https, so authentication is failing due to a mismatch redirect_uri
To "fix" this issue, a workaround was provided in the 2.x version, by setting the config AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX = True
By removing the proxy fix, oauth sign in with FAB is broken
What you think should happen instead?
Keep the proxy fix until
How to reproduce
- Using airflow with https
- setting AIRFLOW__CORE__AUTH_MANAGER = airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager
- configuring github oauth provider
Operating System
ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Other 3rd-party Helm chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
zeqk
Metadata
Metadata
Assignees
Labels
area:corearea:webserverWebserver related IssuesWebserver related Issueskind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet