Display foreign Website in my Website #11814
Unanswered
antonius774
asked this question in
Q&A
Replies: 1 comment 2 replies
|
Thanks for the question. Indeed, bypassing SOP is not a good practice, even when possible. While WebView2 for WebAssembly is not implemented (#329), you can create your own control that wraps an IFRAME, as discussed in #7739. You may also need to have the origin site adhere to compatible CORS headers for this solution to work. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We would like to port our prototype Apps to UNO and WebAssembly to have a single code base for all platforms and also enable people to use us from the browser.
Unfortunately we use WebViews and display foreign websites in the native Apps. And that triggers the Single Origin Policy when we just try to port it to the web. I was hoping to get around that with WebAssembly cause I was told it is possible to go around SOP this way. Sounded credible to me cause Wasm seems to run so deep/ native like.
But since then I am super struggling to actually find a way to implement it.
I was hoping WebViews in Uno could help me with that. Sadly currently WebViews do not seem to be supported in uno and probably wouldn't bypass the SOP anyways.
Does anyone has any other ideas how one could achieve that? Or do you know some good documentation where I could better understand how wasm is actually executed and how web connectivity is implemented and filtered?
All reactions