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.
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.