how to change X-frame options to embed external site into ServiceNow iFrame
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 04:13 AM
Hi,
I need to embed an external site into iFrame.
please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 06:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2022 11:35 AM
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.