Index: remoting/webapp/me2mom/oauth2.js |
diff --git a/remoting/webapp/me2mom/oauth2.js b/remoting/webapp/me2mom/oauth2.js |
index 7010715a001cf2df5fbdb5990f437de953599147..5f9b8e3de97f916b6d9767e9ae28ac34ea3392af 100644 |
--- a/remoting/webapp/me2mom/oauth2.js |
+++ b/remoting/webapp/me2mom/oauth2.js |
@@ -236,7 +236,9 @@ remoting.OAuth2.prototype.doAuthRedirect = function() { |
'client_id': this.CLIENT_ID_, |
'redirect_uri': this.REDIRECT_URI_, |
'scope': this.SCOPE_, |
- 'response_type': 'code' |
+ 'response_type': 'code', |
+ 'access_type': 'offline', |
+ 'approval_prompt': 'force' |
}); |
window.location.replace(GET_CODE_URL); |
}; |