Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ValidateAntiForgeryToken Attribute on Post methods #46

Open
Franklin89 opened this issue Mar 4, 2019 · 0 comments
Open

Add ValidateAntiForgeryToken Attribute on Post methods #46

Franklin89 opened this issue Mar 4, 2019 · 0 comments
Labels
✨ enhancement New feature or request

Comments

@Franklin89
Copy link

Franklin89 commented Mar 4, 2019

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 post, it solves a similar issue.

@benrick benrick added the ✨ enhancement New feature or request label Mar 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants