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

99 views
Skip to first unread message

goog...@googlecode.com

unread,
Mar 25, 2015, 1:02:31 PM3/25/15
to google...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 573 by varti...@google.com: GoogleCL: OAuth1/AuthSub is being
deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

goog...@googlecode.com

unread,
Mar 25, 2015, 6:24:05 PM3/25/15
to google...@googlegroups.com

Comment #1 on issue 573 by jasonhu...@google.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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.

goog...@googlecode.com

unread,
Apr 7, 2015, 5:11:37 AM4/7/15
to google...@googlegroups.com

Comment #2 on issue 573 by marcus.s...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Is there an update to this issue? Date is coming closer?

goog...@googlecode.com

unread,
Apr 7, 2015, 12:25:55 PM4/7/15
to google...@googlegroups.com

Comment #3 on issue 573 by varti...@google.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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.

goog...@googlecode.com

unread,
Apr 22, 2015, 3:06:11 PM4/22/15
to google...@googlegroups.com

Comment #4 on issue 573 by mike.l.h...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

There it went. I love this, so how can I help?

goog...@googlecode.com

unread,
May 12, 2015, 11:26:35 PM5/12/15
to google...@googlegroups.com

Comment #5 on issue 573 by quinncom: GoogleCL: OAuth1/AuthSub is being
deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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>

goog...@googlecode.com

unread,
May 13, 2015, 5:43:22 AM5/13/15
to google...@googlegroups.com

Comment #6 on issue 573 by cruncher...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I concur. googlecl has stopped working:

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

goog...@googlecode.com

unread,
May 13, 2015, 5:48:47 AM5/13/15
to google...@googlegroups.com

Comment #7 on issue 573 by msx...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Is there any alternative or replacement?

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

goog...@googlecode.com

unread,
May 13, 2015, 7:27:12 AM5/13/15
to google...@googlegroups.com

Comment #8 on issue 573 by quinncom: GoogleCL: OAuth1/AuthSub is being
deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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

goog...@googlecode.com

unread,
May 13, 2015, 7:28:54 AM5/13/15
to google...@googlegroups.com

Comment #9 on issue 573 by msx...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Interesting. Our processes are related to Google Drive so maybe on of these
projects should be useful.

Thank you for the tip.

goog...@googlecode.com

unread,
May 13, 2015, 2:47:19 PM5/13/15
to google...@googlegroups.com

Comment #10 on issue 573 by helderma...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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.

goog...@googlecode.com

unread,
May 14, 2015, 8:35:17 AM5/14/15
to google...@googlegroups.com

Comment #11 on issue 573 by neti...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

please fix this ASAP

goog...@googlecode.com

unread,
May 14, 2015, 12:09:58 PM5/14/15
to google...@googlegroups.com

Comment #12 on issue 573 by jangel.m...@tnmgroup.biz: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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-cmdline-sample/src/main/java/com/google/api/services/samples/drive/cmdline/DriveSample.java

Bsgo Golem

unread,
May 15, 2015, 4:21:32 AM5/15/15
to google...@googlegroups.com, codesite...@google.com, goog...@googlecode.com
Please share your modified source code :(

goog...@googlecode.com

unread,
May 18, 2015, 5:26:09 AM5/18/15
to google...@googlegroups.com

Comment #13 on issue 573 by philippe...@open.eurogiciel.org: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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 ...

goog...@googlecode.com

unread,
May 19, 2015, 12:25:19 PM5/19/15
to google...@googlegroups.com

Comment #14 on issue 573 by b.vander...@1hippo.com: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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

goog...@googlecode.com

unread,
May 19, 2015, 6:21:55 PM5/19/15
to google...@googlegroups.com

Comment #16 on issue 573 by noyolaan...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

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.

goog...@googlecode.com

unread,
May 21, 2015, 6:35:33 AM5/21/15
to google...@googlegroups.com

Comment #17 on issue 573 by kovaacs....@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I used googlecl to utomatically upload videos to youtube. Now it stoppped
because of oauth1...
Please fix it!
TIA.

goog...@googlecode.com

unread,
May 25, 2015, 7:07:24 AM5/25/15
to google...@googlegroups.com

Comment #18 on issue 573 by kisbe...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

My auto blogs don't work any more, please upgrade to work with OAuth2.

goog...@googlecode.com

unread,
May 25, 2015, 4:39:31 PM5/25/15
to google...@googlegroups.com

Comment #19 on issue 573 by ourm...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Please do this and help me stay sane. I just had to use the web interface
to upload some photos and it's awful. Drag 18 files across - 1 uploads.
Drag 18 files across again - 18 upload but now I have a duplicate. Delete
duplicate and move onto next album. Drag 25 files across - 18 upload. Can't
be bothered picking duplicates out. Delete album and try again - 25 upload.
Click "Done". Page stuck on egg timer. Refresh and album loads with 26
photos. Gah!

goog...@googlecode.com

unread,
May 27, 2015, 6:29:13 AM5/27/15
to google...@googlegroups.com

Comment #20 on issue 573 by petr...@reto.dk: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I can't automagically upload my files to youtube any more, because OAuth
1.0 access tokens are deprecated and GoogleCL doesn't support OAuth 2 yet.

goog...@googlecode.com

unread,
May 27, 2015, 6:56:56 AM5/27/15
to google...@googlegroups.com

Comment #21 on issue 573 by christof...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Please fix it. My backup for the contacts is no longer working.

goog...@googlecode.com

unread,
May 27, 2015, 5:48:45 PM5/27/15
to google...@googlegroups.com

Comment #22 on issue 573 by jh...@google.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I spent a few hours trying to upgrade and didn't have much success.
Talking to the oauth folks now, but no promises.

goog...@googlecode.com

unread,
May 29, 2015, 11:37:46 AM5/29/15
to google...@googlegroups.com

Comment #23 on issue 573 by hammered...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

This is really pants, there's even a way to use the gspread project using
OAuth2 http://gspread.readthedocs.org/en/latest/oauth2.html but not
googlecl.....bad form.

goog...@googlecode.com

unread,
May 31, 2015, 1:32:26 AM5/31/15
to google...@googlegroups.com

Comment #24 on issue 573 by StdS...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Are we going to have a solution for this? Thanks!

goog...@googlecode.com

unread,
May 31, 2015, 5:13:25 PM5/31/15
to google...@googlegroups.com

Comment #25 on issue 573 by tom.ar...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

This has been marked as medium, I would class it as a show stopper. Would
fix it if I knew how...
really like and use GoogleCL for all my posting needs. doing it now all by
hand several times per day really, and I do mean really sucks.

goog...@googlecode.com

unread,
Jun 1, 2015, 4:29:35 AM6/1/15
to google...@googlegroups.com

Comment #26 on issue 573 by ad...@binarytemple.co.uk: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

show stopper. yet another example of what happens when everything gets
outsourced to the cloud. totally broken. lol

goog...@googlecode.com

unread,
Jun 1, 2015, 4:37:10 AM6/1/15
to google...@googlegroups.com

Comment #27 on issue 573 by gramps.g...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Gentlemen, the change introduced in the way access is provided to Google
APIs has changed and as a consequence, this very excellent tool was
developed on a best effort basis...

The update from ClientLogin into OAuth2 authantication for Google Services
is not difficult but involves taking some time to update the code....

goog...@googlecode.com

unread,
Jun 1, 2015, 5:04:52 AM6/1/15
to google...@googlegroups.com

Comment #28 on issue 573 by jangel.m...@tnmgroup.biz: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Well, they could have fixed it long time before the end of the OAuth1
support.

They announced the deprecation of OAuth1 on May 2013, so they have had a
year for the GoogleCl update.

I guess that they just forgot this tool...

goog...@googlecode.com

unread,
Jun 1, 2015, 5:11:00 AM6/1/15
to google...@googlegroups.com

Comment #29 on issue 573 by kovaacs....@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I used googlecl just to upload videos to youtube using a shellscript.
Meanwhile I found tokland/youtube-upload, which solves my problem as well.
For my puropse it's perfect.

However, I hope googlecl will be fixed soon...

goog...@googlecode.com

unread,
Jun 4, 2015, 5:37:36 PM6/4/15
to google...@googlegroups.com

Comment #30 on issue 573 by nyha...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I'm using googlecl to upload photos to picasaweb (I am not aware of any
other way to do this on Linux), and really sad that it's no longer
working :-(

goog...@googlecode.com

unread,
Jun 4, 2015, 5:57:30 PM6/4/15
to google...@googlegroups.com

Comment #31 on issue 573 by nyha...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I have noticed the googlecl source code has a file,
discovery/authentication.py, which supposedly already deals with OAuth2 for
some of the service. Could it be used for all of them (including what
matters to me, Picasa)?

I'm just grasping at straws here, I don't really know what this file does,
or what the difference OAuth1 and OAuth2 is... But hopefully someone else
does... Is any googlecl developer still reading this?

goog...@googlecode.com

unread,
Jun 4, 2015, 6:08:18 PM6/4/15
to google...@googlegroups.com

Comment #32 on issue 573 by tom.ar...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Thanks for the https://github.com/tokland/youtube-upload hint, that did
solve my youtube upload problem... would still like to see googlecl
resurrected though. Excellent tool.

goog...@googlecode.com

unread,
Jun 4, 2015, 7:32:45 PM6/4/15
to google...@googlegroups.com

Comment #33 on issue 573 by jh...@google.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I spent some time trying to get the discovery support to work, since it
uses more recent libraries that aren't as deprecated, but as far as I can
tell the discovery stuff is broken on the googlecl end, due to funky
command line argument processing. So unfortunately that doesn't seem like
a promising avenue.

I spent a few more hours trying to figure out oauth2 + gdata, but again
didn't come up with anything useful. So I am increasingly of the opinion
that googlecl should be replaced by a new tool that uses current libraries,
rather than trying to keep gdata working. As you can see here, virtually
all of the gdata libraries we depend on have been deprecated for a long
time: https://developers.google.com/gdata/docs/directory

goog...@googlecode.com

unread,
Jun 5, 2015, 9:39:50 AM6/5/15
to google...@googlegroups.com

Comment #34 on issue 573 by nyha...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I have just came across a project
https://github.com/leocrawford/picasawebsync which is also in python
(Python 2.7, but nobody's perfect ;-)) and uses oauth2, and gdata, to
access the Picasa API. It tried it, and it actually works! This
picasawebsync thing has an annoying interface (I liked googlecl's....), but
it does work, showing that this can be done.

goog...@googlecode.com

unread,
Jun 9, 2015, 12:09:35 AM6/9/15
to google...@googlegroups.com

Comment #35 on issue 573 by f15cs...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Looks like googleCL is dead, a shame too I was looking for an app to
communicate with calendar.

Here's to hoping someone picks it up and updates the OAuth, even a fork
would be nice at this point.

goog...@googlecode.com

unread,
Jun 9, 2015, 1:02:25 PM6/9/15
to google...@googlegroups.com

Comment #36 on issue 573 by arnaudv6: GoogleCL: OAuth1/AuthSub is being
deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

I used googlecl in the way described here : https://sandalov.org/blog/1604/
to import my google contacts in trojita (which uses MUTT's addressbook)

I found https://gitlab.com/goobook/goobook, with this you can
goobook dump_contacts > /tmp/data.xml
and wrote a dirty script that does the trick, feel free to reuse :
http://www.arnaudv6.com/goobook2addressbook.py

goog...@googlecode.com

unread,
Jun 12, 2015, 4:11:40 AM6/12/15
to google...@googlegroups.com

Comment #37 on issue 573 by mariusz....@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Is there any chance googlecl to start working again ?
Why OAuth2 is still not introduced to googlecl?
Who is responsible for that?
Is googlecl still alive / under development ?

Thank you for your confirmation.

Best regards
Mariusz

goog...@googlecode.com

unread,
Jun 12, 2015, 8:55:03 PM6/12/15
to google...@googlegroups.com

Comment #38 on issue 573 by meimeif...@gmail.com: GoogleCL: OAuth1/AuthSub
is being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

Agree with post #34 that https://github.com/leocrawford/picasawebsync works
for google photos.

goog...@googlecode.com

unread,
Jun 29, 2015, 7:27:09 PM6/29/15
to google...@googlegroups.com

Comment #39 on issue 573 by jow...@gmail.com: GoogleCL: OAuth1/AuthSub is
being deprecated on April 20th, 2015. Please migrate to OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

some poking...

still no solution?

goog...@googlecode.com

unread,
Jul 14, 2015, 6:15:00 PM7/14/15
to google...@googlegroups.com

Comment #40 on issue 573 by andrewba...@google.com: GoogleCL:
OAuth1/AuthSub is being deprecated on April 20th, 2015. Please migrate to
OAuth2
https://code.google.com/p/googlecl/issues/detail?id=573

In addition to the oauth1 -> oauth2 problem, most of the other gdata APIs
(used by googlecl) were disabled at the same time. So even fixing the
Oauth2 would not make the code work anymore.
Reply all
Reply to author
Forward
0 new messages