DevChatter / DevChatter/DevStreams
Add ValidateAntiForgeryToken Attribute on Post methods
Open
✨ enhancement
- Dominant language
- CSS
- Stars
- 32
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Since we are posting the data through `axios` we have to manually add the `AntiForgeryToken` to the request as a cookie or as a header value to leverage the ASP.NET Core functionality.
Check out [this](https://damienbod.com/2017/05/09/anti-forgery-validation-with-asp-net-core-mvc-and-angular/) post, it solves a similar issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.