chaynHQ / soulmedicine

Soul Medicine a multilingual digital service designed to deliver critical safety information and supportive messaging in bite-sized pieces.
https://soulmedicine.io
MIT License
34 stars 7 forks source link

Specify cookies SameSite protection level to lax #363

Closed tarebyte closed 10 months ago

tarebyte commented 10 months ago

From https://owasp.org/www-community/SameSite

The lax value provides a reasonable balance between security and usability for websites that want to maintain user’s logged-in session after the user arrives from an external link. In the above GitHub scenario, the session cookie would be allowed when following a regular link from an external website while blocking it in CSRF-prone request methods (e.g. POST).