0

I am trying to open a different domain url in iframe which requires bearer token to be passed in header. I am getting a cross origin error.

<iframe id="output-frame-id" width='100%' height='100%' src="https://punlinvdi158:8089/servicesNS/nobody/tripwire-connect/data/ui/views/vulnerability_inventory_details" />
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
pKay
  • 1,832
  • 4
  • 16
  • 23
  • "I am getting a cross origin error" — And what **exactly** does that error message say? – Quentin Jul 12 '19 at 10:42
  • check this: https://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options – roetnig Jul 12 '19 at 10:43
  • Refused to display 'https://punlinvdi158:8089/servicesNS/nobody' in a frame because it set 'X-Frame-Options' to 'sameorigin'. This is a different domain – pKay Jul 12 '19 at 10:49

0 Answers0