jabbera opened a new issue, #60897:
URL: https://github.com/apache/airflow/issues/60897
### Apache Airflow Provider(s)
fab
### Versions of Apache Airflow Providers
apache-airflow-providers-fab==3.1.2
### Apache Airflow version
3.1.6
### Operating System
Ubuntu 24.04.3 LTS
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
Setting AUTH_ROLE_PUBLIC = 'Admin' in ${AIRFLOW_HOME}/webserver_config.py
doesn't remove the login dialog
The following 401's show up in the logs:
```
INFO: 127.0.0.1:36580 - "GET /ui/config HTTP/1.1" 401 Unauthorized
INFO: 127.0.0.1:36580 - "GET
/api/v2/auth/login?next=http%3A%2F%2Flocalhost%3A8080%2F HTTP/1.1" 307
Temporary Redirect
INFO: 127.0.0.1:36590 - "GET /ui/config HTTP/1.1" 401 Unauthorized
INFO: 127.0.0.1:36584 - "GET /ui/auth/menus HTTP/1.1" 401 Unauthorized
INFO: 127.0.0.1:36584 - "GET /api/v2/plugins HTTP/1.1" 401 Unauthorized
```
### What you think should happen instead
_No response_
### How to reproduce
Script to reproduce:
```
uv venv airflow-venv --python=3.11
source ./airflow-venv/bin/activate
uv pip install "apache-airflow" "apache-airflow-providers-fab"
export AIRFLOW_HOME=/tmp/afhome
mkdir -p ${AIRFLOW_HOME}
echo "AUTH_ROLE_PUBLIC = 'Admin'"> ${AIRFLOW_HOME}/webserver_config.py
export
AIRFLOW__CORE__AUTH_MANAGER="airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager"
airflow api-server
```
browse to http://localhost:8080 and get the login dialog
### 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)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]