Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 563 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 563 Bytes

Epic Stack Example with CSRF Tokens

CSRF tokens protect your users if you must use non-Lax/Strict cookies or you need to perform actions on GET requests.

In this example, we use the utilities provided by remix-utils to generate and validate CSRF tokens. We also have a validateCSRF utility that will automatically validate the CSRF token and return a 403 if it is invalid.

Check this commit for details.