The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

An iframe doesn't show anymore

Motti Tadmor
Contributor
January 8, 2019

We used to have an iframe that displays a page from another server inside a Confluence page, and it worked without any issue.

We moved the hosting page to another server and the iframe no longer shows, we thought we need to whitelist the new server or something, but cannot find the settings mentioned here:

https://confluence.atlassian.com/doc/configuring-the-whitelist-381255821.html?_ga=2.40740645.644039475.1546898569-1814977191.1546447638

 

How can we re-configure this iframe to show the desired page?

 

Thanks

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Tobias Anstett (K15t)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 9, 2019

Hi @Motti Tadmor,

This issue is most likely related to the same-origin policy. My gut feeling is that the old server was configured differently - e.g. CORS was enabled / setup.

You can check if this is the issue by checking the network tab of your browsers console. You should see the iframe request failing with a reason. If it is something with same-origin or CORS you should follow up with the articles below to understand the issue in more detail and eventually fix it.

- https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy

- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Best, Tobias

TAGS
AUG Leaders

Atlassian Community Events