bldrs-ai / Share

Share is a web-based BIM & CAD collaboration platform.
http://bldrs.ai
103 stars 30 forks source link

iframe integration issues #398

Open Adrian62D opened 1 year ago

Adrian62D commented 1 year ago

Issue analysis from Rafael:

I saw the prototype of bldrs including vyzn in an iframe. As you might have noticed it’s throwing an error: Refused to display 'https://www.vyzn.tech/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. From your side, I think you should change the domain you’re trying to display from ‘https://www.vyzn.tech/’ to ‘https://dev.vyzn.tech/’ From our side, we need to reconfigure the server to add source (https://deploy-preview-379--bldrs-share.netlify.app/?) to the Content-Security-Policy header in the response.

Adrian62D commented 1 year ago

We are working on the content-security-policy. Internal ticket here.

MarkusSteinbrecher commented 1 year ago

@pablo-mayrgundter can you change the domain name as stated above?

Adrian62D commented 1 year ago

Basic loading of the page within iframe works already on my end when changing the URL:

image

Adrian62D commented 1 year ago

@MarkusSteinbrecher Does this work for you as well?

MarkusSteinbrecher commented 1 year ago

Yes, I see the same screen. Clicking on "Anmelden" does not do anything though

Adrian62D commented 1 year ago

Yes, I assume the API calls do fail due to the missing Content-Security-Policy.

pablo-mayrgundter commented 1 year ago

@MarkusSteinbrecher I changed the target of the PR, but to a locally hosted Matrix Widget, as I need to get that working first. NOTE: clicking the Matrix buttons sets off an infinite loop of widget-container msgs. Working on that now