AnsweredAssumed Answered

IdentityManager.getCredential crahes IISExpress when debugging in Visual Studio 2015

Question asked by jbailey.spatialbridge on Jan 21, 2017

I've created a simple web site that asks a user to log in to ArcGIS Online, using the following code:


<!DOCTYPE html>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="" />
    <script src=""></script>
        ], function (OAuthInfo, esriId) {
            var info = new OAuthInfo({
                appId: "ycS0y2RsQMqf22mG",
                popup: false

            esriId.checkSignInStatus(info.portalUrl + "/sharing").then(
                function () {
                function () {
                     esriId.getCredential(info.portalUrl + "/sharing");



After IdentityManager.getCredential() is called on line 24, the Visual Studio debugger exits with errors:
The program '[2224] iexplore.exe' has exited with code 0 (0x0).
The program '[10128] iisexpress.exe' has exited with code 0 (0x0).

The application is still running in Internet Explorer, however. 


Has anyone else experienced this, and is there a way to work around it?