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:
Has anyone had any success embedding perspective content in an iframe of another application?