Dec 28 2022 08:31 AM
I am embedding a job portal website "Zoho jobs" in SharePoint site. Embed code is correct but the website is refusing to connect.
Receiving error as "Refused to connect".
Can anyone help me how to fix this?
Embed Code: -
<iframe width="560" height="315" src="https://billedright.zohorecruit.in" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Error: -
Dec 29 2022 01:52 AM
Hi @Rajath_Krishna,
the page
https://billedright.zohorecruit.in/jobs/Careers
is sending the
X-Frame-Options:DENY
header.
You cannot embed that using an iframe as long as that header is present (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).
Best Regards,
Sven
Dec 29 2022 02:50 AM
Dec 29 2022 02:54 AM - edited Dec 29 2022 03:00 AM
Hi @Rajath_Krishna ,
unfortunately you cannot do that as long as you are not the owner of the site
https://billedright.zohorecruit.in/jobs/Careers
This has to be disabled in the server settings. (See here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options . That what has been configured here needs to be undone on the server)
The site owner does not want this site to be displayed in an iframe.
Best Regards,
Sven