0

I have charts built with Apache Superset. I need to integrate the chart in my Angular 7 application with iframe.

Major issue is I get authentication failure and error message stating Refused to display 'http://[CHART-URL]' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

How should I integrate the Apache Superset Chart to do things right way avoiding all these errors?

Tofiq Quadri
  • 358
  • 4
  • 14
  • Possible duplicate of [Overcoming "Display forbidden by X-Frame-Options"](https://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options) – alt255 Apr 01 '19 at 12:17

1 Answers1

2

Add HTTP_HEADERS = {} in the superset_config.py file. This would allow you add the chart with iframe.

Nikhil Baby
  • 778
  • 3
  • 8
  • 21