Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6562

Optimize shared dashboard refuses to display in iframe in SaaS env

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.10.0-alpha4, 3.10.0
    • None
    • backend
    • None
    • Not defined

    Description

      *Brief summary of the bug. What is it ? Where is it ?
      In Optimize Saas env,
      When sharing a dashboard using the Embed function, it no longer displays in an iframe on version 3.8.x / 3.9.x/3.10.x to latest.

      *Steps to reproduce:
      Open one of the Optimize clusers in cloud and open Optimize
      Create any dashboard in Optimize and then click Share -> Embed Link
      Create a local html file and paste the contents of the Embed Link cliboard somewhere in the <body> tag of the html.
      Try to view the html file locally and you get an error message: "localhost refused to connect."
      Try this again in version 3.4.0 and the iframe is displayed correctly, showing the dashboard

      *Actual result :
      Error message:
      refused to display in an iframe because it set 'X-Frame-Options' to 'deny'
      Example: https://jsfiddle.net/xz67c9kj/

      Expected result:
      Dashboard shows up in the embedded area.

      Notes:
      Looking at the browser (F12) Network info, the failing version has a new Response Header including 'X-Frame-Options: DENY'

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                omran.abazeed Omran Abazeed
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce