If you have any questions, please let us know in the comment section below. Thanks for reading!
Magento 2.3.5 included another module Magento_Csp which underpins CSP (Content Security Policies (CSP) headers and gives approaches to design them. These approaches can be arranged for adminhtml and frontend zones independently.
There is mention all the things related to CSP on Magento Officially Blog page like Here
But still, We face issue to integrate it in our latest version. So, No worry that I even have already a solution for that. you only got to add module which I created and solve your problems.
Here is that the link for that: https://github.com/Anantkprajapati/AKP_CSP/
Use the following steps to install the module:
<magento_installation>app/code/AKP/CSP/etc/config.xml
Replace Below Code
<report_uri>http://www.example.com/</report_uri>
To
<report_uri>YOUR_SITE_URL</report_uri>
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento setup:di:compile (if site on production mode) php bin/magento cache:flush
Now, Please check on the front-end and you’ll see the errors are has gone currently.
If you have any questions, please let us know in the comment section below. Thanks for reading!