I have embedded an iFrame to a Figma file on a confluence page.
The page loads the figma file correctly for some, but not all.
When the iframe doesn't load the figma file, a grey box with the message "www.figma.com refused to connect" appears.
I have tested different permissions and browsers along with adding https to the URL.
Welcome to Atlassian Community. Happy to help you!
From what you're saying, the iFrame is working for some users, but not all. Is that correct?
If Confluence were having an issue with this, then you would see that it doesn't load for any users, but if it loads for some users, then there's some problem preventing those users from connecting to Figma.
That can either be Figma itself, or something on the user's computer, such as an anti-virus.
You can have your users check the error with Developer Tools in their browser. By going to Developer Tools > Network (in Chrome, but other browsers have the similar functionality), they will be able to see the error that is causing the connection issue.
Let me know if you have any trouble.
I check out the Network issues and found this
Refused to display 'https://www.figma.com/file/bocdbxkuGrzvd2AiWjLWnFKg/Policy-creation?node-id=1949%3A787' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Thank you for sharing that.
This means that Figma has set clickjacking protection on that page. The rule they have set is preventing that page from being embedded in another page unless they share the same origin (Figma).
It's not clear why it would happen only for certain users or if there's some other requirement for someone to access the page, e.g. do they need to be logged in? Access from a specific session? Therefore, you may want to check with Figma why this is happening.
I hope that helps to clarify things, but let me know if you have any additional questions.
It doesn't look like a Confluence issue; we do have clickjacking enabled so you cannot embed Confluence pages into 3rd party sites, but not the other way around.
If I were you I would check with Figma to see if there's some requirement as to some whitelist or setting that needs to be enabled for someone to embed a website.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events