Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

An iframe doesn't show anymore

Motti Tadmor 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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events