Closed andrewzah closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
For anyone running into this, this fixed it. It previously was set to None
:
[webserver]
cookie_samesite = Lax
Apache Airflow version
2.7.0
What happened
When trying to log in to airflow with a keycloak 18.0.2 provider using google chrome, I get this error:
What you think should happen instead
I should be able to log in with the keycloak provider on chrome.
How to reproduce
my webserver_config.py:
Operating System
Rocky Linux 8.8
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
in airflow.cfg, these changes were made
and my env vars:
Anything else
This only occurs when logging in via Chrome (
115.0.5790.110
), not Firefox (112.0.1
). I seem to be getting a similar issue to authlib 518 and authlib 376.I looked at airflow issue 28098 and Flask-Appbuilder issue 1957 but I'm not setting
AIRFLOW__WEBSERVER__SESSION_LIFETIME_MINUTES
.Are you willing to submit PR?
Code of Conduct