julianobarbosa / googlecl

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

GoogleCL: OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to OAuth2 #573

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Over the past few years, we’ve publicized that ClientLogin, OAuth 1.0 (3LO)*, 
AuthSub, and OpenID 2.0 were deprecated and would shut down on April 20, 2015. 
We’re moving away from these older protocols in order to focus support on the 
latest Internet standards, OAuth 2.0 and OpenID Connect, which increases 
security and reduces complexity for developers.

See 
http://googledevelopers.blogspot.com/2015/03/reminder-to-migrate-to-oauth-20-or.
html

Analysis of our logs leads us to believe that you are still using one of these 
deprecated protocols. You need to ensure that your applications use our 
supported authentication methods: OAuth 2.0 for API authorization or OpenID 
Connect for federated authentication.

Original issue reported on code.google.com by varti...@google.com on 25 Mar 2015 at 5:02

GoogleCodeExporter commented 9 years ago
To be specific googlecl is using OAuth1 and it needs to be migrated. This is a 
high priority task because OAuth1 is going away on the above mentioned date.

Original comment by jasonhu...@google.com on 25 Mar 2015 at 10:23

GoogleCodeExporter commented 9 years ago
Is there an update to this issue? Date is coming closer?

Original comment by marcus.s...@gmail.com on 7 Apr 2015 at 9:11

GoogleCodeExporter commented 9 years ago
Thanks for the ping. I am curious about the status as well. For starters, this 
should be assigned to someone on the GoogleCL team. The deadline is almost 
around the corner.

Original comment by varti...@google.com on 7 Apr 2015 at 4:25

GoogleCodeExporter commented 9 years ago
There it went. I love this, so how can I help?

Original comment by mike.l.h...@gmail.com on 22 Apr 2015 at 7:05

GoogleCodeExporter commented 9 years ago
Yep, googlecl no longer functional. Below is the error message so those who are 
googling what went wrong will find this thread.

Is anybody working on this?

[q@haywire/0 ~] google docs list .*\.pdf --fields title
Traceback (most recent call last):
  File "/usr/local/bin/google", line 1000, in <module>
    main()
  File "/usr/local/bin/google", line 986, in main
    run_once(options, args)
  File "/usr/local/bin/google", line 772, in run_once
    task.run(client, options, args)
  File "/Library/Python/2.7/site-packages/googlecl/docs/__init__.py", line 147, in _run_list
    entries = client.get_doclist(titles_list, folder_entries)
  File "/Library/Python/2.7/site-packages/googlecl/docs/client.py", line 245, in get_doclist
    desired_class=self._doclist_class())
  File "/Library/Python/2.7/site-packages/googlecl/base.py", line 218, in get_entries
    desired_class=desired_class)
  File "/Library/Python/2.7/site-packages/gdata/client.py", line 640, in get_feed
    **kwargs)
  File "/Library/Python/2.7/site-packages/googlecl/client.py", line 60, in retry_request
    return self.retry_operation(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/googlecl/base.py", line 399, in retry_operation
    raise unexpected
gdata.client.Unauthorized: Unauthorized - Server responded with: 401, <HTML>
<HEAD>
<TITLE>Token invalid - Invalid token: OAuth1 protocol (3LO) has 
shutdown.</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Token invalid - Invalid token: OAuth1 protocol (3LO) has shutdown.</H1>
<H2>Error 401</H2>
</BODY>
</HTML>

Original comment by quinncom on 13 May 2015 at 3:26

GoogleCodeExporter commented 9 years ago
I concur. googlecl has stopped working:

<H1>Token invalid - Invalid token: OAuth1 protocol (3LO) has shutdown.</H1>

Original comment by cruncher...@gmail.com on 13 May 2015 at 9:43

GoogleCodeExporter commented 9 years ago
Is there any alternative or replacement?

Many processes at my company rely on GoogleCl and we are stuck for weeks!  
We're losing money!

Original comment by msx...@gmail.com on 13 May 2015 at 9:48

GoogleCodeExporter commented 9 years ago
I'm not aware of an alternative which accesses multiple google services, but 
here are a few which interact with Google Drive only:
https://github.com/prasmussen/gdrive
https://github.com/odeke-em/drive
https://github.com/google/skicka

Original comment by quinncom on 13 May 2015 at 11:27

GoogleCodeExporter commented 9 years ago
Interesting. Our processes are related to Google Drive so maybe on of these 
projects should be useful.

Thank you for the tip.

Original comment by msx...@gmail.com on 13 May 2015 at 11:28

GoogleCodeExporter commented 9 years ago
Until yesterday, I used GoogleCL to access both Blogger and Picasa, making a 
daily family blog post with photographs. I suppose my only alternative is the 
regular web interface. Too bad; I liked the automation potential of GoogleCL.

Original comment by helderma...@gmail.com on 13 May 2015 at 6:47

GoogleCodeExporter commented 9 years ago
please fix this ASAP

Original comment by neti...@gmail.com on 14 May 2015 at 12:35

GoogleCodeExporter commented 9 years ago
I have a workaround for some of my processes.

I use GoogleCl to download files from Google Drive to a local directory.

I found this sample code in Java which does exactly what I need. It uses OAuth2 
so I've changed a couple of things, compiled and it did the trick for me.

https://github.com/google/google-api-java-client-samples/blob/master/drive-cmdli
ne-sample/src/main/java/com/google/api/services/samples/drive/cmdline/DriveSampl
e.java

Original comment by jangel.m...@tnmgroup.biz on 14 May 2015 at 4:09

GoogleCodeExporter commented 9 years ago
Is there an effort to get this fixed ?

If pple are loosing money it would make sense to sponsor someone to fix this... 
my company and others may be able to dedicate time to fix this, can you suggest 
a platform to do a such thing ? if not then pple can PM me ...

Original comment by philippe...@open.eurogiciel.org on 18 May 2015 at 9:26

GoogleCodeExporter commented 9 years ago
Hi,

For people running into the same problem as me that there seems to be almost no 
tools that allow for exporting Google Docs documents from Google Drive: I've 
added the export/download functionality for Google Docs to Petter Rasmussen 
gdrive tool. 

The fork is over here, but you'll need to build it yourself:
https://github.com/schans/gdrive

I've created a pull request for upstream:
https://github.com/prasmussen/gdrive/pull/61

Regards,
Bart

Original comment by b.vander...@1hippo.com on 19 May 2015 at 4:25

GoogleCodeExporter commented 9 years ago
GoogleCL is a great tool...just a pity it stopped working...

Cheers,
Gizmo

Original comment by gramps.g...@gmail.com on 19 May 2015 at 8:36

GoogleCodeExporter commented 9 years ago
I've seen a few workarounds for Drive. Does anyone know of a workaround for 
Picasa operations? 

This is a really handy tool. I hope it can be fixed.

Original comment by noyolaan...@gmail.com on 19 May 2015 at 10:21

GoogleCodeExporter commented 9 years ago
I used googlecl to utomatically upload videos to youtube. Now it stoppped 
because of oauth1...
Please fix it!
TIA.

Original comment by kovaacs....@gmail.com on 21 May 2015 at 10:35