Programmatically login to ArcGIS Online and set the appropriate credentials in the browser

882
0
08-31-2016 06:31 AM
ChristopherSchreiber
Occasional Contributor II

Hello,

I have an iframe in my page with the src property set to https://myAgolOrg.arcgis.com/home. When I’m not logged in the page shows an error in the iframe “Contents cannot be displayed in a frame”.

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.

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? 

Thank you,

Chris

ssiservices

0 Kudos
0 Replies