QUESTION:


I m getting this error on site when we sign in using Facebook and Google when install on my site Magento M2.2.1

Fatal error: Interface 'Magento\Framework\App\CsrfAwareActionInterface' not found in /xxxx/xxx/public_html/app/code/Bss/SocialLogin/Controller/Account/LoginPost.php on line 30


Do you provide a fix?


ANSWER:


The error above due to the fact the on Magento 2.2.x, there is no class Magento\Framework\App\CsrfAwareActionInterface.


To resolve this issue, please download the attached file below and overwrite the current file on your site.

File changed: app/code/Bss/SocialLogin/Controller/Account/LoginPost.php 


If you have any other question or concern, please feel free to leave us a message via https://bsscommerce.com/contact

We'd be happy to support.