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.