Index: remoting/webapp/me2mom/remoting_session.js |
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js |
index cb6c86617cb8a2a57998efccd31766caf64b108c..fe5c13affde6d798f8e1ee6d9d8c6df83e988800 100644 |
--- a/remoting/webapp/me2mom/remoting_session.js |
+++ b/remoting/webapp/me2mom/remoting_session.js |
@@ -15,7 +15,8 @@ remoting.scaleToFit = false; |
// Default to trying to sandboxed connections. |
remoting.connectMethod = 'sandboxed'; |
-remoting.httpXmppProxy = 'https://chromoting-httpxmpp-dev.corp.google.com'; |
+remoting.httpXmppProxy = |
+ 'https://chromoting-httpxmpp-oauth2-dev.corp.google.com'; |
// This executes a poll loop on the server for more Iq packets, and feeds them |
// to the plugin. |
@@ -67,7 +68,7 @@ function registerConnection() { |
} |
xhr.send('host_jid=' + encodeURIComponent(remoting.hostjid) + |
'&username=' + encodeURIComponent(remoting.username) + |
- '&password=' + encodeURIComponent(remoting.xmppAuthToken)); |
+ '&password=' + encodeURIComponent(remoting.oauth2.getAccessToken())); |
setClientStateMessage('Connecting'); |
} |