/quick-csrf-express

A quick CSRF implementation example with ExpressJS & EJS templates

Primary LanguageJavaScript

Launch with "npm run dev"
Application is then available on localhost:8080
Routes :
  - / shows a basic HTML page
  - GET /csrf shows CSRF example
  - POST /csrf redirects on / on success, sends 403 Forbidden otherwise