I have a web application built using React.
I’m trying to embed a perspective view as an iframe in that application.
The perspective view is protected by an open id idp (auth0)
This works fine when my node webserver is running at localhost:3000 and my ignition instance is running at localhost:8088.
We’ve deployed the perspective views to an instance of ignition on a test server and now I’m trying to point the src of iframe to the test server (e.g. https ://testserver.nunya.com:8043/data/perspective/client/…). The IFRAME will display the ‘You must log in to continue’ screen and the ‘Continue to Log In’ button as expected.
After I click the ‘Continue to Log In’ button it will spin for a second or two and then take me right back to the ‘You must log in to continue’ screen.
An error message consistently appears in the console log each time I press hte ‘Continue to Log In’ button: Error sending client activity message: TypeError: Cannot destructure property ‘readyState’ of ‘this.webSocket’ as it is undefined.
I have updated my ignition.conf file as follows:
wrapper.java.additional.1=-Dignition.http.header.x_frame_options.enabled=false
wrapper.java.additional.2=-Dignition.http.header.x_content_type_options.enabled=false
wrapper.java.additional.3=-Dignition.http.header.x_xss_protection.enabled=false
wrapper.java.additional.4=-Dignition.http.header.referrer_policy.enabled=false
Has anyone had any success embedding perspective content in an iframe of another application?