Add IFrame Support
This topic will guide you through the necessary steps to allow Hubble Web to be displayed within an iframe.
Note: Note that this is only for environments using solely HTTPS connections. IFrame support is not available for environments using HTTP connections and making the changes below to such environments would result in users not being able to log in.
- Changes to IIS:
- Open Internet Information Services.
- Open HTTP Response Headers.
- Click the Add option on the right:
- Fill in the form as shown below and click OK.
- Changes to web.config:
- Go to web.config for the Web application. It is usually under C:\inetpub\wwwroot\Hubble.
- Add the rule below under the <rewrite>rule:
<outboundRules>
<rule name="Add SameSite=None; Secure" preCondition="No SameSite">
<match serverVariable="RESPONSE_Set_Cookie" pattern=".*" negate="false" />
<action type="Rewrite" value="{R:0}; SameSite=None; Secure" />
</rule>
<preConditions>
<preCondition name="No SameSite">
<add input="{RESPONSE_Set_Cookie}" pattern="." />
<add input="{RESPONSE_Set_Cookie}" pattern="; SameSite=None; Secure" negate="true" />
</preCondition>
</preConditions>
</outboundRules>
-
Make these changes on all web servers and restart the IIS.
Note: When redeploying or upgrading an environment the above steps will need to be completed again.