-
Hello, I'm trying to embed our instance of Pact Broker in an iframe in an internal website (which centralises code/test infrastructure), and seeing the iframe fail with "pactbroker... refused to connect.", likely due to the X-Frame-Options: SAMEORIGIN response header from Pact Broker.
Thanks! All response headers from Pact Broker:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that header is explicitly there to stop you doing exactly what you're doing ;) It's added by the Rack Protection gem here https://github.com/pact-foundation/pact_broker/blob/master/lib/pact_broker/app.rb#L175 There are a couple of options.
|
Beta Was this translation helpful? Give feedback.
Yes, that header is explicitly there to stop you doing exactly what you're doing ;) It's added by the Rack Protection gem here https://github.com/pact-foundation/pact_broker/blob/master/lib/pact_broker/app.rb#L175
There are a couple of options.