Login

Simplify CSRF protection

completed
Ben 1 month ago

While researching it some more it seems that using SameSite=lax and making sure that only POST requests change state should be enough, additionally I might check for Sec-Fetch-Site and referrer headers and block the request if the value wrong

Ben 1 month ago changed status to completed