Skip to main content
Solved

how to integrate Flow Apps through iframe into another web site?

  • April 10, 2024
  • 2 replies
  • 195 views

jiranek_hsro
Observer
Forum|alt.badge.img+1

Hi everyone, is there a way how to integrate Flow Apps through iframe into another web site page. There is a block in CORS setting Flow Apps strict-origin-when-cross-origin. Any idea? Kindly regards

Best answer by keziaatsafe

Hi @jiranek_hsro ,

This community post has an example of embedding a workspace app within iframe in another website.

Please note that there is a known issue where Flow Apps that have Require Authentication enabled does not work within iframe, and the end user cannot login and use the app. [For internal reference: FMEFLOW-18844]. 

 

Hope this information helps!

Kezia

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

keziaatsafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 153 replies
  • Best Answer
  • April 12, 2024

Hi @jiranek_hsro ,

This community post has an example of embedding a workspace app within iframe in another website.

Please note that there is a known issue where Flow Apps that have Require Authentication enabled does not work within iframe, and the end user cannot login and use the app. [For internal reference: FMEFLOW-18844]. 

 

Hope this information helps!

Kezia


mark2atsafe
Safer
Forum|alt.badge.img+57
  • Safer
  • 2554 replies
  • April 15, 2024

Yes, I’ve done it a few times on this site. I do something like:

<center>
<iframe style="border:none;" width="60%" height="1200" src="https://[SERVER]/[APP]"></iframe>
</center>

I’ve had a CORS problem before and it was always when I was trying to test the page locally. Like, if I have test.html and just open that in my browser, I get a CORS error. It has to be properly served up through a web server to avoid that problem. At least, that’s what I found.

I hope this helps,

Mark