Hello,
I am attempting to link a survey through ArcGIS Hub that is hosted on an Enterprise Portal, and when signed in I can not access the survey. It gives a Refused to display in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’
Is there a way to change the X frame options on the portal to allow the survey to be embedded into the Hub?
I tried adding the Hub to the allow origins and that did not seem to work
Thank you,
Alec
Hello Alec,
If this survey is a secure resource, this is intentional; the header is set with the SAMEORIGIN directive to block any cross-origin framing of OAuth-secured resources. The survey and any resources in it must be shared publicly before they can be embedded.
Rachel
The survey is shared publicly but it still won't allow it to be embedded. It reports the same error "a Refused to display in a frame because it set ‘X-Frame-Options’ to ‘sameorigin".
Do you have any other suggestions?
Thank you,
Alec