We have been working on creating an iFrame application which will render the Empower document in designated frame. The applications are used by business user to create, edit or preview the documents. The infrastructure include different cloud tenants (Calling and called - OT). When OpenText Exstream Empower application is called from clients application, we have been observing the error as "connection not able to established or failed to establish". This behavior occurs when a document is opened for edit, but when it is previewed or create, the document renders within the frame. We did check the response headers returned by Empower for this particular scenario where the CSP headers, x-Frame-Options: DENY is returned and we did add the Content-Security-Policy: frame-ancestors https://{{trusted-domain.com}}. (Clients domain).
Are there any configurations we are missing or is it the OT side configurations where the x-Frame-Options to be set as SAMEORIGIN or completely taken out from headers. Please advise.