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
  • 379
  • 5
  • 16
  • 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
  • 863
  • 3
  • 10
  • 22
  • I am new to Apache Superset, can you please let me know how to integrate superset with vue application? Thanks in advance! – Lakshay Sep 01 '22 at 12:29