I was given a site to test and I am getting the common error when running client AJAX on different machines:
Exception Details: System.Web.Mvc.HttpAntiForgeryException: A required anti-forgery token was not supplied or was invalid.
Is there a way to disable this so I can run in development environments? I tried adding the attributes below to my web.config and adding a machine key, but did not do anything:
<pages ... enableEventValidation="false" viewStateEncryptionMode="Never" enableViewStateMac="false">...
You can (temporarily) disable the token in the ASPX file(s):