{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/1150","repository_url":"https://api.github.com/repos/systemjs/systemjs","labels_url":"https://api.github.com/repos/systemjs/systemjs/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/systemjs/issues/1150/comments","events_url":"https://api.github.com/repos/systemjs/systemjs/issues/1150/events","html_url":"https://github.com/systemjs/systemjs/issues/1150","id":139667240,"number":1150,"title":"Scripts requested via systemjs are rejected with 401 unauthorized","user":{"login":"akiander","id":1742168,"avatar_url":"https://avatars.githubusercontent.com/u/1742168?v=3","gravatar_id":"","url":"https://api.github.com/users/akiander","html_url":"https://github.com/akiander","followers_url":"https://api.github.com/users/akiander/followers","following_url":"https://api.github.com/users/akiander/following{/other_user}","gists_url":"https://api.github.com/users/akiander/gists{/gist_id}","starred_url":"https://api.github.com/users/akiander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiander/subscriptions","organizations_url":"https://api.github.com/users/akiander/orgs","repos_url":"https://api.github.com/users/akiander/repos","events_url":"https://api.github.com/users/akiander/events{/privacy}","received_events_url":"https://api.github.com/users/akiander/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-09T18:52:31Z","updated_at":"2016-03-10T12:45:23Z","closed_at":"2016-03-10T07:05:35Z","body":"I [also posted this to stackoverflow](http://stackoverflow.com/questions/35899799/scripts-requested-via-systemjs-fail-with-401-unauthorized), but trying to cross-reference it here as well. \r\n\r\nI have a web application that runs on Team Foundation Server 2015. The application works fine as-is, but I want to convert it over to use systemjs. \r\n\r\nWhen I attempt to do that, I can see that systemjs is requesting the root javascript module correctly, and the module is there, but the call to load it fails with a 401 unauthorized. \r\n\r\nThe issue is not with authentication- the same code works fine and can successfully load the module without using systemjs, so I know that something related to using systemjs to load the script is the problem. \r\n\r\nAny ideas on how to solve something like this? "},"comment":{"url":"https://api.github.com/repos/systemjs/systemjs/issues/comments/194826904","html_url":"https://github.com/systemjs/systemjs/issues/1150#issuecomment-194826904","issue_url":"https://api.github.com/repos/systemjs/systemjs/issues/1150","id":194826904,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T12:45:23Z","updated_at":"2016-03-10T12:45:23Z","body":"Is there anyway you can share a replication? The only thing I can think is if the security policy is stopping the ability from registering the script load completion properly."}}