robbestad / react-iframe

Simple solution for using iframes in React
ISC License
436 stars 79 forks source link

Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN' #57

Closed habibaamri closed 2 years ago

jvrjosephlouie commented 5 years ago

getting the same problem

chrisbchrist commented 5 years ago

This is not an issue with the package, it's because the owner of the webpage you are trying to display in the frame has configured its settings specifically to disallow usage in iframes. Unfortunately, you will not be able to pull in that URL without the site owner's permission. See this SO answer for more information.

MartinJesu commented 3 years ago

Getting the same problem. Is there any tweak to achieve this from ReactJS perspective @chrisbchrist