Solved

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

  • 10 April 2024
  • 2 replies
  • 49 views

Badge

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

icon

Best answer by keziaatsafe 12 April 2024, 15:14

View original

2 replies

Userlevel 2
Badge +6

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

Userlevel 5
Badge +32

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

Reply