General, Magento, PHP CSRF token issue magento 2 February 20, 2020 Pramod T P Leave a comment Extend the following file vendor/magento/framework/App/Request/CsrfValidator.php and add the following code if ( $request->getModuleName() == 'MODULENAME') { return; // Skip CSRF check }