-
-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chrome bug] CSRF Warning! State not equal in request and response. #334
Comments
I got the same issue with Chrome |
Any plans for looking into this? This also occurs if we use LDAP. |
This is fixed in Authlib 1.0.0a2. I'll fix it in 0.15 then. |
I reproduced the issue with Authlib 1.0.0a2 #376 (comment) |
fixed in 1.0.0 |
I'm currently getting this error with Authlib 1.1 (Starlette/FastAPI integration), but only in Chrome, not in Firefox, and not on all the servers I have this application deployed on. I'm not sure how Airflow does it, but Starlette only supports storing session data in a client-side session cookie. In my case, this error seems to come from Chrome sometimes not acknowledging the |
Ok, so the session data fron If anyone is still running into this issue with Apache Airflow, you would need to report it to them or to whatever middleware they are using for OAuth. |
For anyone running into this, this fixed it. It previously was set to
|
Describe the bug
When logging in via OIDC, an error occurs,
CSRF Warning! State not equal in request and response.
. This only happens on chrome/chromium. It does not happen on firefox.Specifically, chrome
89.0.4389.114
, firefox78.8.0esr
, and chromium88.0.4324.182
. And on mac/linux.Error Stacks
To Reproduce
We are using Keycloak to login via OIDC with Airflow, which apparently uses flask/authlib.
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
Docker
debian bullseye slim
3.8
0.15.3
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: