Keycloak OAuth CSRF mismatch State Not Equal error #34024
Labels
area:core
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
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
The text was updated successfully, but these errors were encountered: