}
function getRedirectURI() {
- return window.location.protocol + '//' + window.location.host + window.location.pathname + "login.html";
+ return window.location.protocol + '//' + window.location.host + window.location.pathname.replace("index.html", "") + "login.html";
}
function doLogout() {
}
}
else {
- console.log("Backend issue fetching OAuth state.");
+ console.log("Backend error " + aStatus + " fetching OAuth state: " + aResult["message"]);
}
if (aCallback) { aCallback(); }
},