Airflow 404 Flask cannot find /security/login API #51550
Unanswered
HuanjieGuo
asked this question in
General
Replies: 3 comments
-
Please use: https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/token.html from FAB provider. FAB hase been moved to FAB provider and you should use FAB provider exposed API for that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Converted to discussion if more discussionis needed. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually I am not sure that was a mistake - the auth-manager API works in Airlfow 3. I recreated the issue in #51551 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.10.5
What happened?
We are using airflow 2.8.4, and recently we upgrade it to 2.10.5
Environment for Airflow 2.8.4
Call /security/login API:
Environment for Airflow 2.10.5
Call /security/login API:
Error Log:
/security/login API in Flask-AppBuilder==4.5.2
https://github.com/dpgaspar/Flask-AppBuilder/blob/v4.5.2/flask_appbuilder/security/api.py#L32
/security/login API in Flask-AppBuilder==4.3.11
https://github.com/dpgaspar/Flask-AppBuilder/blob/v4.3.11/flask_appbuilder/security/api.py#L32
What you think should happen instead?
We should be able to call the /security/login API in 2.10.5
How to reproduce
call this /security/login in airflow 2.10.5 env
Operating System
ubuntu 22.04
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions