I also downloaded the Basic Viewer Template in JavaScript code to customize it. Now when I open the Basic Viewer locally it does not open the web map but it shows a Sign In popup window .
Is there anyone that is using a local application to open a map on ArcGIS online that is not public but restricted to a group?