potiuk opened a new issue, #51551:
URL: https://github.com/apache/airflow/issues/51551

   
   ### Discussed in https://github.com/apache/airflow/discussions/51550
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **HuanjieGuo** June  9, 2025</sup>
   ### 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
   
   - Python version: 3.10
   - Flask version: 
   
   ```
   Flask-AppBuilder==4.3.11
   Flask-Babel==2.0.0
   Flask-Bcrypt==1.0.1
   Flask-Caching==2.1.0
   Flask-JWT-Extended==4.6.0
   Flask-Limiter==3.5.1
   Flask-Login==0.6.3
   Flask-SQLAlchemy==2.5.1
   Flask-Session==0.5.0
   Flask-WTF==1.2.1
   Flask==2.2.5
   ```
   
   Call /security/login API:
   
   <img width="1541" alt="Image" 
src="https://github.com/user-attachments/assets/ef976819-1ac1-4bd6-b84b-3ceab844a998";
 />
   
   
   ### Environment for Airflow 2.10.5
   
   - Python version: 3.10
   - Flask version: 
   
   ```
   Flask-AppBuilder==4.5.2
   Flask-Babel==2.0.0
   Flask-Bcrypt==1.0.1
   Flask-Caching==2.3.0
   Flask-JWT-Extended==4.7.1
   Flask-Limiter==3.10.1
   Flask-Login==0.6.3
   Flask-SQLAlchemy==2.5.1
   Flask-Session==0.5.0
   Flask-WTF==1.2.2
   Flask==2.2.5
   ```
   
   Call /security/login API:
   
   <img width="1552" alt="Image" 
src="https://github.com/user-attachments/assets/e6ca32db-cb56-49e6-a266-8edb82e8d0b2";
 />
   
   
   Error Log:
   ```
   {
     "detail": "The requested URL was not found on the server. If you entered 
the URL manually please check your spelling and try again.",
     "status": 404,
     "title": "Not Found",
     "type": "about:blank"
   }
   ```
   
   /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?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   </div>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to