2-legged OAuth and the Gmail atom feed

Posted by jdcotter on Stack Overflow See other posts from Stack Overflow or by jdcotter
Published on 2010-04-26T14:36:49Z Indexed on 2010/04/27 21:53 UTC
Read the original article Hit count: 715

Filed under:
|
|
|

We're trying to get 2-legged OAuth to work with the Gmail atom feed. We're using the Java library contributed by John Kristian, Praveen Alavilli and Dirk Balfanz. [http://oauth.net/code/] instead of the GData library.

We know we have the correct CONSUMER_KEY and CONSUMER_SECRET, etc. becuase it works with the Contacts feed (http://www.google.com/m8/feeds/contacts/default/full) and have no problems. However with Gmail atom feed it always returns: HTTP/1.1 401 Unauthorized

Any ideas? Should we try a different OAuth framework or does the problem lie on the Google side?

© Stack Overflow or respective owner

Related posts about oauth

Related posts about java