<?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 Programmatically login to ArcGIS Online and set the appropriate credentials in the browser in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/programmatically-login-to-arcgis-online-and-set/m-p/341728#M410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an iframe in my page with the src property set to &lt;A href="https://kc1.maps.arcgis.com/home"&gt;https://myAgolOrg.arcgis.com/home&lt;/A&gt;. When I’m not logged in the page shows an error in the iframe “Contents cannot be displayed in a frame”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I log into AGOL on another tab then go back to the tab with the iframe and refresh it displays the content as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is programmatically login to ArcGIS Online and set the appropriate credentials in the browser. I’ve tried several different methods with no luck. Has anyone had any luck with this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/ssiservices"&gt;ssiservices&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2016 13:31:07 GMT</pubDate>
    <dc:creator>ChristopherSchreiber</dc:creator>
    <dc:date>2016-08-31T13:31:07Z</dc:date>
    <item>
      <title>Programmatically login to ArcGIS Online and set the appropriate credentials in the browser</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/programmatically-login-to-arcgis-online-and-set/m-p/341728#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an iframe in my page with the src property set to &lt;A href="https://kc1.maps.arcgis.com/home"&gt;https://myAgolOrg.arcgis.com/home&lt;/A&gt;. When I’m not logged in the page shows an error in the iframe “Contents cannot be displayed in a frame”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I log into AGOL on another tab then go back to the tab with the iframe and refresh it displays the content as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is programmatically login to ArcGIS Online and set the appropriate credentials in the browser. I’ve tried several different methods with no luck. Has anyone had any luck with this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/ssiservices"&gt;ssiservices&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 13:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/programmatically-login-to-arcgis-online-and-set/m-p/341728#M410</guid>
      <dc:creator>ChristopherSchreiber</dc:creator>
      <dc:date>2016-08-31T13:31:07Z</dc:date>
    </item>
  </channel>
</rss>

