vivalapanda
01/09/2024, 1:27 AMrp_st
01/09/2024, 5:28 AMrid
header), which is auto added to the request header by our interceptor on the frontend.
This is one way to do CSRF checks: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#use-of-custom-request-headers
---------
The other way is what an anti-csrf token which is something you need to enable on the backend (see http://localhost:3000/docs/session/common-customizations/sessions/anti-csrf#manually-enable-anti-csrf). You will have to set the value of antiCsrf
to VIA_TOKEN
. However, this is not really needed usually since the custom header method should be good enough.
Is there something else you were looking for?vivalapanda
01/09/2024, 6:15 AMrp_st
01/09/2024, 7:14 AMrp_st
01/09/2024, 7:15 AMrp_st
01/09/2024, 7:15 AM