How can I remove "form_key" globally in my magento2 store?

  • 2
    why you want to remove form key as it will compromise security? Commented Aug 6, 2019 at 10:36
  • Form keys are a means of preventing against cross site request forgery Commented Aug 6, 2019 at 12:29
  • I'm using cashfree extension for payment gateway. when the user goes to payment gateway page. the form is submitted with "form_key". which the API is not expecting. and it is throwing an error only because of "form_key". i cannot edit the code of the extension. so i have to remove the "form_key". please help me with removing "form_key" Commented Aug 7, 2019 at 11:10


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.