Index: remoting/webapp/event_handlers.js |
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js |
index 324fb79c01c39f2d9146d03efbb3341bd2a1116f..f3a8c241c464a734049f2c01b13095adcbd48232 100644 |
--- a/remoting/webapp/event_handlers.js |
+++ b/remoting/webapp/event_handlers.js |
@@ -15,7 +15,7 @@ function onLoad() { |
// We don't need a token until we authenticate, but asking for one here |
// handles the token-expired case earlier, avoiding asking the user for |
// the access code both before and after re-authentication. |
- remoting.oauth2.callWithToken( |
+ remoting.identity.callWithToken( |
/** @param {string} token */ |
function(token) { |
remoting.setMode(remoting.AppMode.CLIENT_UNCONNECTED); |