Share icon indicating copy to clipboard operation
Share copied to clipboard

iframe integration issues

Open Adrian62D opened this issue 3 years ago • 7 comments

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 avatar Sep 19 '22 10:09 Adrian62D

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

Adrian62D avatar Sep 19 '22 11:09 Adrian62D

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

MarkusSteinbrecher avatar Sep 19 '22 11:09 MarkusSteinbrecher

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

image

Adrian62D avatar Sep 19 '22 11:09 Adrian62D

@MarkusSteinbrecher Does this work for you as well?

Adrian62D avatar Sep 19 '22 11:09 Adrian62D

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

MarkusSteinbrecher avatar Sep 19 '22 11:09 MarkusSteinbrecher

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

Adrian62D avatar Sep 19 '22 11:09 Adrian62D

@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

pablo-mayrgundter avatar Sep 20 '22 13:09 pablo-mayrgundter