Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: remoting/webapp/crd/js/it2me_helpee_channel.js

Issue 868203002: Handle authentication failures in the v2 app by restarting the app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/crd/js/identity.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/it2me_helpee_channel.js
diff --git a/remoting/webapp/crd/js/it2me_helpee_channel.js b/remoting/webapp/crd/js/it2me_helpee_channel.js
index e4060acc92a8aa54600a2f992ec40096175b9d2e..af28dd4938d4b37b0999e36658d884c1addb922d 100644
--- a/remoting/webapp/crd/js/it2me_helpee_channel.js
+++ b/remoting/webapp/crd/js/it2me_helpee_channel.js
@@ -402,7 +402,7 @@ remoting.It2MeHelpeeChannel.prototype.fetchOAuthToken_ = function() {
if (error != remoting.Error.NOT_AUTHENTICATED) {
throw new Error('Unexpected error fetch auth token: ' + error);
}
- oauth2.doAuthRedirect(onAuthenticated);
+ oauth2.removeCachedAuthToken();
};
oauth2.callWithToken(resolve, onError);
});
« no previous file with comments | « remoting/webapp/crd/js/identity.js ('k') | remoting/webapp/crd/js/oauth2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698