07-09-2019 09:17 PM
I m trying to embed GMSC Stand Alone workflow in iframe in other application.
Its works fine if both are running on the same server,
but if host application is in another server, following error is displayed:
Uncaught DOMException: Blocked a frame with origin "http://workflowserver from accessing a cross-origin frame.
Adding x-frame to web.config of stand alone workflow is not helping
<add name="X-Frame-Options" value="ALLOWALL" />
Big thanks in advance for suggestion
07-09-2019 11:46 PM
have you tried using this configuration instead?
<configuration> <system.webServer> <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*"/> </customHeaders> </httpProtocol> </system.webServer> </configuration>