AnsweredAssumed Answered

Loading activi-app in an iFrame

Question asked by mikeblum on Jul 14, 2015
Latest reply on Jul 14, 2015 by mikeblum
I'm attempting to load the activiti-app into an iframe from Box.com but get blocked with the following exception:

Refused to display 'https://localhost/activiti-app/workflow/#/tasks?taskId=100011' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Configuring the CORS filter on the tomcat instance in tomcat/conf/web.xml:

<filter>
  <filter-name>CorsFilter</filter-name>
  <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>CorsFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

but I'm still getting denied. Do I need to configure something in the activiti-app.properties to enabvle loading into an iframe?

Thanks,
Mike

Outcomes