On Airflow version 1.10.9 I am not able to switch on/off the DAGS using the RBAC UI. Airflow shows:
INFO - The CSRF token is missing
In chrome tools I can see the CSRF token is not sent with the http request.
On Airflow version 1.10.9 I am not able to switch on/off the DAGS using the RBAC UI. Airflow shows:
INFO - The CSRF token is missing
In chrome tools I can see the CSRF token is not sent with the http request.
This is caused by an upgrade of jQuery in the Flask-AppBuilder dependency. It affects Airflow 1.10.9
and 1.10.10
with Flask-AppBuilder on version 2.3.3
.
Fix: Downgrade Flask-AppBuilder to 2.3.2
.
Reference to Flask-AppBuilder issue:
https://github.com/dpgaspar/Flask-AppBuilder/issues/1362
Reference to Airflow issues: