You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "puhamihai (via GitHub)" <gi...@apache.org> on 2026/01/05 13:04:23 UTC
Re: [I] Airflow >= 2.3.4: The CSRF session token is missing upon login [airflow]
puhamihai commented on issue #28414:
URL: https://github.com/apache/airflow/issues/28414#issuecomment-3710341037
For those deploying this on a separate VM rather than on localhost, the following workaround saved my day:
Update the docker-compose.yaml with:
```yaml
x-airflow-common:
...
environment:
...
_PIP_ADDITIONAL_REQUIREMENTS: ${_PIP_ADDITIONAL_REQUIREMENTS:-} apache-airflow-providers-fab==2.0.2
AIRFLOW__WEBSERVER__SECRET_KEY: "<your-secret-key-here>"
AIRFLOW__WEBSERVER__BASE_URL: "http://<your-ip-here>:8080"
AIRFLOW__WEBSERVER__SESSION_COOKIE_SAMESITE: "Lax"
AIRFLOW__WEBSERVER__SESSION_COOKIE_SECURE: "False"
```
Mention: https://github.com/apache/airflow/issues/28859
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org