how to change X-frame options to embed external site into ServiceNow iFrame

Chitradevi G
Tera Contributor

Hi,

I need to embed an external site into iFrame.

please suggest.

2 REPLIES 2

Chitradevi G
Tera Contributor

I got a message like below.

find_real_file.png

Arturo
Tera Contributor

hi,

this was way much easier in the past. In lastest versions Servicenow implemented became stricter in terms of security and if you want to embed an external site you need to use the plugin  Custom URL and set it up, see following link:

https://docs.servicenow.com/bundle/rome-platform-administration/page/integrate/authentication/task/configure-custom-url.html

 

Most aAlong with that  you need to setup some properties to allow the cross_site referencing and then you can embed the external site:

  • com.glide.cs.embed.csp_frame_ancestors
  • com.glide.cs.embed.xframe_options

Basically SN needs to know the domains or external sites they can allow in their platform they can trust by adding it in SN properties and activating the mentioned plugin.