Closed GoogleCodeExporter closed 9 years ago
Hi, thanks for this.
Yes, unfortunately if you want to use the old service framework-based class,
you will have to use OAuth1, not OAuth2.0. We won't be adding OAuth2.0 support
to the old service framework.
Original comment by afs...@google.com
on 13 Feb 2012 at 3:34
What is the old service framework and what is the new one?
There's no mention about it in here:
https://developers.google.com/gdata/articles/python_client_lib
Original comment by eduardos...@gmail.com
on 19 Dec 2012 at 3:22
[deleted comment]
If you write an OAuth 2.0 Bearer auth header directly to the request it will
allow you to continue to use the older
gdata.spreadsheet.service.SpreadsheetsService style client code with the new
OAuth 2.0 access tokens.
Init your client like this:
client = gdata.spreadsheet.service.SpreadsheetsService(
additional_headers={'Authorization' : 'Bearer %s' % credentials.access_token})
I have put a full working solution in my SO answer here
http://stackoverflow.com/a/29157967/298650
Original comment by peter.he...@gmail.com
on 23 Mar 2015 at 2:44
Original issue reported on code.google.com by
victorja...@gmail.com
on 8 Feb 2012 at 8:52