Permalink
Browse files

Fixed the link that was used to get the Auth Cookie from with the New…

… One

from Google.

Now notifications are working again. However the entire auth module is
outdated and should be migrated to OAuth2.
  • Loading branch information...
iliepandia committed May 13, 2013
1 parent 696425a commit 66b243a398785230c23ccde9ee086f6fb9486a0f
Showing with 2 additions and 2 deletions.
  1. +2 −2 digsby/src/plugins/component_gmail/gmail.py
@@ -175,7 +175,7 @@ def _external_url(self, url):
if self.web_login:
self.new_token(internal=False)
if self.web_login and self.external_token:
return UrlQuery('https://www.google.com/accounts/TokenAuth?',
return UrlQuery('https://accounts.google.com/TokenAuth?',
**{'auth':self.external_token,
'service':'mail',
'continue':url,
@@ -256,7 +256,7 @@ def authenticate(self, task=None):
if not token:
return False
webreq_result = self.webrequest(UrlQuery('https://www.google.com/accounts/TokenAuth?',
webreq_result = self.webrequest(UrlQuery('https://accounts.google.com/TokenAuth?',
**{'auth':token,
'service':'mail',
'continue':self.internalBaseMailUrl,

0 comments on commit 66b243a

Please sign in to comment.