News for hackers. Stuff that matters.
Re:JSON Web Tokens should be avoided by mwpmaybe on Tuesday March 14, 2017 @12:30PM (#13868946)
CSRF protection:

* Use SameSite cookies (unfortunately, not yet supported by all browsers)

* Don't accept application/x-www-form-urlencoded, multipart/form-data, or text/plain at your endpoints, or

* Use CSRF tokens if you need to accept server-side rendered HTML forms

There are no comments on this comment yet.