<?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 IFRAME dashboard in another webpage WITH login in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/iframe-dashboard-in-another-webpage-with-login/m-p/1414869#M9492</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone been able to embed a dashboard into another web page app and get it to successfully load without the user having to login to both the parent app and the IFRAME dashboard?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario:&amp;nbsp; &amp;nbsp;Custom JSAPI application with an IFRAME for a dashboard. All content is 'private-group shared' and the user logs in on the parent web app with standard esri oauth.&amp;nbsp; &amp;nbsp;Maps and layers in the parent page will load correctly so we know the auth is correct.&amp;nbsp; The dashboard is using the same source service layers but the IFRAME generally fails to load at all on initial login. Sometimes I can get it to start the dashboard app but then get a 'you don't have permission' pop-up inside the IFRAME.&amp;nbsp; After serval full page refreshes without a logout, the dashboard will sometime fully load.... but that's not a valid user experience:&amp;nbsp; "Hey user login to our app, then refresh your page a few times until everything loads correctly :("&lt;/P&gt;&lt;P&gt;I found this old guide on the RESTJS v2 on how to embed content to use the parent auth with the postMessage() sequences: &lt;A href="https://esri.github.io/arcgis-rest-js/guides/embedded-apps/" target="_blank"&gt;https://esri.github.io/arcgis-rest-js/guides/embedded-apps/&lt;/A&gt;&amp;nbsp; However i can't get it to work at all either.&amp;nbsp; I stripped one of the auth demo examples down and added an IFRAME to a dashboard but still no luck.&amp;nbsp; More details on that attempt at this github issue:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-rest-js/issues/1156" target="_blank"&gt;https://github.com/Esri/arcgis-rest-js/issues/1156&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 17:12:20 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2024-04-24T17:12:20Z</dc:date>
    <item>
      <title>IFRAME dashboard in another webpage WITH login</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/iframe-dashboard-in-another-webpage-with-login/m-p/1414869#M9492</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone been able to embed a dashboard into another web page app and get it to successfully load without the user having to login to both the parent app and the IFRAME dashboard?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario:&amp;nbsp; &amp;nbsp;Custom JSAPI application with an IFRAME for a dashboard. All content is 'private-group shared' and the user logs in on the parent web app with standard esri oauth.&amp;nbsp; &amp;nbsp;Maps and layers in the parent page will load correctly so we know the auth is correct.&amp;nbsp; The dashboard is using the same source service layers but the IFRAME generally fails to load at all on initial login. Sometimes I can get it to start the dashboard app but then get a 'you don't have permission' pop-up inside the IFRAME.&amp;nbsp; After serval full page refreshes without a logout, the dashboard will sometime fully load.... but that's not a valid user experience:&amp;nbsp; "Hey user login to our app, then refresh your page a few times until everything loads correctly :("&lt;/P&gt;&lt;P&gt;I found this old guide on the RESTJS v2 on how to embed content to use the parent auth with the postMessage() sequences: &lt;A href="https://esri.github.io/arcgis-rest-js/guides/embedded-apps/" target="_blank"&gt;https://esri.github.io/arcgis-rest-js/guides/embedded-apps/&lt;/A&gt;&amp;nbsp; However i can't get it to work at all either.&amp;nbsp; I stripped one of the auth demo examples down and added an IFRAME to a dashboard but still no luck.&amp;nbsp; More details on that attempt at this github issue:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-rest-js/issues/1156" target="_blank"&gt;https://github.com/Esri/arcgis-rest-js/issues/1156&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 17:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/iframe-dashboard-in-another-webpage-with-login/m-p/1414869#M9492</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2024-04-24T17:12:20Z</dc:date>
    </item>
  </channel>
</rss>

