vishwa306 / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

OAuth Token -- Page not found #580

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've attempted multiple times to run GoogleCl -- once on a Lubuntu 15.04 
Virtual Machine, and once on a native Windows 10 machine. On both platforms, 
when I enter a typical command (e.g. "google calendar list"), I am prompted for 
a user name. A browser window opens, prompting me for my Google user name and 
password, and then...I get redirected to a "Sorry, page not found" page 
(https://support.google.com/a/answer/6224347?p=oauth&rd=1).

The URL above is different from the one given in the terminal, which does 
actually include an OAuth token 
(https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=[stuff]&hd=defa
ult). But this seems to be a broken link.

Has anybody else ever had this problem? I haven't been able to find anything 
like it from Googling all over.

Original issue reported on code.google.com by alexey.s...@gmail.com on 20 Aug 2015 at 9:44

GoogleCodeExporter commented 8 years ago
Sorry you went through all that.  I tried to get googlecl updated to oauth2 and 
failed, partly because the libraries it depends on are too old.  I've put up 
notices on each of the wiki pages that it's no longer expected to work, and 
debian has removed it from their archive, but maybe you came in through a 
different path?

Original comment by jh...@google.com on 20 Aug 2015 at 10:50

GoogleCodeExporter commented 8 years ago
Yeah, I realized OAuth2 was the problem immediately after posting. I honestly 
didn't check the wiki before installing the Windows version -- my mistake -- 
but it's happily listed in the default Ubuntu repositories, so I just apt-got 
it.

Shame instituting OAuth2 didn't work out! I found a guy's GitHub fork 
(https://github.com/vinitkumar/googlecl) trying to fix it, hopefully something 
will come of that!

Original comment by alexey.s...@gmail.com on 20 Aug 2015 at 10:55