<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wordpress iframe error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964445#M17154</link>
    <description>&lt;P&gt;I will give this a try, thanks&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 04:52:25 GMT</pubDate>
    <dc:creator>vivek_batra</dc:creator>
    <dc:date>2022-08-04T04:52:25Z</dc:date>
    <item>
      <title>Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1879440#M16126</link>
      <description>&lt;P&gt;I can't add an iframe application to a wordpress page, I set the public sheet, I generate the iframe code but I get the following error: "&lt;STRONG&gt;qms.eu.qlikcloud.com&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;refused to connect.&lt;/SPAN&gt;."&lt;/P&gt;
&lt;P&gt;Attached are the screenshots.&lt;/P&gt;
&lt;P&gt;What exactly needs to be done to make it work? thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 11:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1879440#M16126</guid>
      <dc:creator>digitalizarecatgroup</dc:creator>
      <dc:date>2022-01-11T11:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1885553#M16204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This error occurs when CSP(Content Security Policy) and web integration is missing. The best way to which one is missing is to open a Developer tool &amp;amp; look for the error and add the missing request to CSP in SaaS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 13:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1885553#M16204</guid>
      <dc:creator>Akshesh_Patel</dc:creator>
      <dc:date>2022-01-26T13:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963943#M17141</link>
      <description>&lt;P&gt;I have web integration id and CSP in place but I still get the error "Refused to Connect" in browser and this one in console&lt;/P&gt;
&lt;P&gt;"Refused to frame '&lt;A href="https://5mgt7zl1n5abmk4.sg.qlikcloud.com/" target="_blank"&gt;https://5mgt7zl1n5abmk4.sg.qlikcloud.com/&lt;/A&gt;' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' app.pendo.io localhost:3333""&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running my NodeJS web app at &lt;A href="http://localhost:3333" target="_blank"&gt;http://localhost:3333&lt;/A&gt;&amp;nbsp;and this is added as a whilelist origin and in CSP as well.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 10:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963943#M17141</guid>
      <dc:creator>vivek_batra</dc:creator>
      <dc:date>2022-08-03T10:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963976#M17143</link>
      <description>&lt;P&gt;FTR - Documentation for in dev portal&lt;FONT face="andale mono, times"&gt;-&lt;/FONT&gt;&lt;SPAN&gt;&lt;A href="https://qlik.dev/tutorials/content-security-policy-for-embedding-iframes" target="_blank"&gt;https://qlik.dev/tutorials/content-security-policy-for-embedding-iframes&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963976#M17143</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2022-08-03T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963982#M17144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45449"&gt;@Aiham_Azmeh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already followed the steps but no use.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1963982#M17144</guid>
      <dc:creator>vivek_batra</dc:creator>
      <dc:date>2022-08-03T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964004#M17147</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182622"&gt;@vivek_batra&lt;/a&gt;&amp;nbsp;I think the csp origins entries defaults to https (for obvious security reasons)&lt;/P&gt;&lt;P&gt;If you run your web-app in https - it should work.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964004#M17147</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2022-08-03T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964044#M17149</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182622"&gt;@vivek_batra&lt;/a&gt;&amp;nbsp;, are you trying to perform an anonymous auth to your cloud tenant or interactive login? Can you share your code?&lt;/P&gt;&lt;P&gt;You may wish to compare with this example:&amp;nbsp;&lt;A href="https://github.com/goldbergjeffrey/qlik-saas-wordpress-plugin" target="_blank"&gt;https://github.com/goldbergjeffrey/qlik-saas-wordpress-plugin&lt;/A&gt;&amp;nbsp;but keep in mind this code is made to work with jwt authorization in Qlik Cloud hence the certificate requirements.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 12:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964044#M17149</guid>
      <dc:creator>Jeffrey_Goldberg</dc:creator>
      <dc:date>2022-08-03T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964444#M17153</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45015"&gt;@Jeffrey_Goldberg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. I am trying to load an iframe in my react web app&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import React from 'react';
import * as Config from 'utils/configuration';

export default class QlikIFrame extends React.Component {
    constructor(props) {
        super(props);
    }

    componentDidMount() {
        this.initialize();
    }

    componentDidUpdate() {
        this.initialize();
    }
    initialize() {
        const webIntegrationId = Config.WEB_INTEGRATION_ID;
        function login() {
            function isLoggedIn() {
                return fetch("https://5mgt7zl1n5abmk4.sg.qlikcloud.com/api/v1/users/me", {
                    method: 'GET',
                    mode: 'cors',
                    credentials: 'include',
                    headers: {
                        'Content-Type': 'application/json',
                        'qlik-web-integration-id': webIntegrationId,
                    },
                }).then(response =&amp;gt; {
                    return response.status === 200;
                });
            }
            return isLoggedIn().then(loggedIn =&amp;gt; {
                if (!loggedIn) {
                    // check login
                    window.location.href = "https://5mgt7zl1n5abmk4.sg.qlikcloud.com/login?qlik-web-integration-id=" + webIntegrationId + "&amp;amp;returnto=" + location.href;
                    throw new Error('not logged in');
                }
            });
        }
        login()
    }
    render() {
        return (
            &amp;lt;div&amp;gt;
                &amp;lt;iframe src="https://5mgt7zl1n5abmk4.sg.qlikcloud.com/single/?appid=43ce1141-2d47-428b-af30-9fd45499be3b&amp;amp;obj=JMGd&amp;amp;theme=horizon&amp;amp;opt=ctxmenu,currsel"
                    style={{ "border": "none", width: "100%", height: "100%" }}&amp;gt;&amp;lt;/iframe&amp;gt;
            &amp;lt;/div&amp;gt;
        )
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;Thats my react componenet&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 04:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964444#M17153</guid>
      <dc:creator>vivek_batra</dc:creator>
      <dc:date>2022-08-04T04:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wordpress iframe error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964445#M17154</link>
      <description>&lt;P&gt;I will give this a try, thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 04:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Wordpress-iframe-error/m-p/1964445#M17154</guid>
      <dc:creator>vivek_batra</dc:creator>
      <dc:date>2022-08-04T04:52:25Z</dc:date>
    </item>
  </channel>
</rss>

