Magento Asked on December 30, 2021
I’ve set X-Frame-Options
'x-frame-options' => '*',
in env as mentioned in the doc
Magento Docs
But still I’m getting this error
Refused to display ‘https://mythridpartyurlhere.com/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.
Just because you allow iframes to load from any URL it does not mean the third party resource allows you to.
If you read the error carefully it mentions the third party URL itself has sameorigin
set and not your Magento installation.
Refused to display 'https://mythridpartyurlhere.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
There is nothing you can do about this, the third party does not allow you to load this resource in an iframe on your website.
To confirm this check the response headers on the resource:
Answered by Ben Crook on December 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP