Top "Protect-from-forgery" questions

Rails CSRF Protection + Angular.js: protect_from_forgery makes me to log out on POST

If the protect_from_forgery option is mentioned in application_controller, then I can log in and perform any GET …

ruby-on-rails angularjs csrf protect-from-forgery
How to turn off rails protect_from_forgery filter only for json

I have web site built with Rails3 and now I want to implement json API for mobile client access. However, …

ruby-on-rails ajax json rest protect-from-forgery
Can't verify CSRF token authenticity Rails/React

I have a react component in my rails app where I'm trying to use fetch() to send a POST to …

ruby-on-rails reactjs csrf protect-from-forgery