Identity Manager not prompting for log in.

809
2
03-14-2014 11:41 AM
GaryLaitman
New Contributor
I have downloaded many javascript examples including:
https://developers.arcgis.com/javascript/jssamples/widget_identitymanager_client_side.html
https://developers.arcgis.com/javascript/jssamples/widget_identitymanager.html

When I run them, the map renders but I never get prompted for my credentials. In addition when I run the Live Samples I still do not get prompted for my credentials. I am Windows 7, Internet Explorer 9.

My goal is to be able use Javascript from my .net developement environment to access/query a Web Map that is on my company's ArcGIS Online site. I assume in order to so I would first have log into the ArcGIS Online site through Javascript.


Thank you.
Tags (2)
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
Hi Gary,

With IE 9 you'll need to do two things in order for that sample to work

1. Setup a proxy on your web server. We have a .NET proxy available here: https://github.com/Esri/resource-proxy
2. Access the app via https which means you'll need an SSL certificate.
0 Kudos
GaryLaitman
New Contributor
Thank you for your response. It certainly would help if the information you sent was included in the description of the sample.;)
0 Kudos