How to secure the app from xsrf attacks and use AntiForgeryToken in asp.net core react js app

784 views Asked by At

I am using the asp.net core with react template for my app. I want to use AntiForgeryToken for securing my app. I can't find any working example on how to implement that.

https://learn.microsoft.com/en-us/aspnet/core/security/anti-request-forgery?view=aspnetcore-3.1

ValidateAntiForgeryToken in an ASP.NET Core React SPA Application

I looked at microsft's documentation and another stackoverflow question, but those didn't help me.

0

There are 0 answers