GitHub user dosubot[bot] added a comment to the discussion: CSRF Warning! State 
not equal in request and response.

<!-- Answer -->
I found similar threads discussing the "CSRF Warning! State not equal in 
request and response" error message:

1. [Discussion 32979](https://github.com/apache/superset/discussions/32979) - 
This thread is open and suggests upgrading to Superset version 3.1.0, as a 
similar issue was addressed in this version. Additionally, if you do not have 
HTTPS configured, you can add `"session_cookie_secure": False` to your Talisman 
CSP. Ensure that your `ENABLE_PROXY_FIX` setting is correctly configured, as it 
helps compute the `redirect_uri` properly, especially when SSL offloading is 
involved <sup>[[1]](https://github.com/apache/superset/discussions/32979)</sup>.

2. [Discussion 31440](https://github.com/apache/superset/discussions/31440) - 
This thread is also open and provides similar suggestions for resolving the 
issue <sup>[[2]](https://github.com/apache/superset/discussions/31440)</sup>.

To resolve the error, consider these steps:

- Upgrade to Superset version 3.1.0.
- If using versions 3.0.0 to 3.0.2, add `"session_cookie_secure": False` to 
your Talisman CSP configuration if you're not using HTTPS.
- Ensure `ENABLE_PROXY_FIX` is properly configured to handle `redirect_uri` 
computation, especially when using SSL offloading or a proxy 
<sup>[[2]](https://github.com/apache/superset/discussions/31440)</sup><sup>[[3]](https://github.com/apache/superset/issues/31435)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/beef2696-6f35-4d0c-9fce-4fc2039fd7fd?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33041#discussioncomment-12766897

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to