Skip to content

Rails 6, losing CSRF token #197

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

Open
abuzzell opened this issue Dec 12, 2022 · 2 comments
Open

Rails 6, losing CSRF token #197

abuzzell opened this issue Dec 12, 2022 · 2 comments

Comments

@abuzzell
Copy link

abuzzell commented Dec 12, 2022

I am finding that without #172 the session id regenerates when it should not. So on new pages, I get new session ids.

172 fixes that, but then I get a new issue, which is that I have no CSRF token in the session, and thus form submission fails.

Are there known fixes or workarounds for these issues?

@endangurura
Copy link

@abuzzell I having this issue too. Did you find any fix?

@JVKdouk
Copy link

JVKdouk commented May 15, 2025

Same issue, need a fix urgently here... It happens occasionally, not always

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants