I've trying to follow this article
(http://code.google.com/apis/gdata/docs/auth/oauth.html#NoLibrary) and
use Three legged OAuth to authentication against Google docs.
I am using Python (and the Python 2.0+ client library), All examples
referenced from that article use the 1.0 client library.
Anyone aware of a v2.0+ client library example for OAuth out there? I
am nearly there, I manage to get an authentication token, but even
though I assign the token object to the DocsClient, it fails to fetch
a list throwing a gdata.client.Unauthorized: Unauthorized - Server
responded with: 401
Thanks for your time and any resources you can point me to.
On Mon, Mar 26, 2012 at 11:33 PM, Ali Afshar <afs...@google.com> wrote:
>
> You should very much consider using OAuth 2 with the Python client library
> instead of three-legged OAuth 1.
>
Thanks for pointing out Alain's article.
Does OAuth 2 work with regular Gmail accounts as well?
Thanks for your responses.
Wondering if there are any examples you know of for installed apps?
Thanks for that. I assumed there was an API call that would allow me
to fetch the token (like in OAuth 1).
This example makes it clear, that I can't. Cheers.