New Discussion

Notifications

You’re not receiving notifications from this thread.

CSRF logging me out

0
Rails

Rails 5, Ruby 2.7.
I'm getting the dreaded error "Can't verify CSRF token authenticity." and I'm being logged out and my tokens don't seem to match. This is happening on a new development machine (I dare not deploy to production). What can I do?
"👋"
"real \t\xB8s\x93\xB5R\xE5\x95N\x87\n\xF1\xA5\x97|Dbu\x94\x82\x9C$sj:\xC9\xE1\xDD\xCD\xE6\xE5 "
"global \xEDq\xEB\xD1\x84\x8C\W\xAA\x17\x17d]\x06\x0F\x9BL\xD2<I\n\x86\x82\xE21?\xB0X\x06\xDA\xA6"
"\x9B\xB6\x13\x95_\xD2.\xA2\xA8\x1E\xAB\xDB\x01\xFE\ea\xE1z`\xEC\xCA{\xC7(\xC1;\x04\t\v\xEB\x80\x80"

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.