In the spirit of Passover, please fill a cup with my name on it and leave it untouched on the table...
A few more weeks and all this East Coast nonsense will be over...
EHL
From: oauth@googlegroups.com [mailto:oauth@googlegroups.com] On Behalf Of Chris Messina
Sent: Friday, April 25, 2008 5:36 PM
To: oauth@googlegroups.com
Subject: [oauth] Re: OAuth support for Google Accounts and Contacts API
YAY!!!!!!!!
I'll definitely sponsor a round of drinks at tomorrow's OAuth Hackathon! ;)
Chris
On Fri, Apr 25, 2008 at 2:29 PM, Wei <weitu+oa
...@google.com<mailto:weitu%2Boa
...@google.com>> wrote:
Hi folks,
We are happy to announce that the Google Contacts Data API now
supports OAuth. This is our first step towards OAuth enabling all
Google Data APIs. Please note that this is an alpha release and we may
make changes to the protocol before the official release. I will be
at the OAuth hackathon tomorrow to get feedback and help consumers
integrate.
Here are the three end points used in OAuth to get a token:
https://www.google.com/accounts/OAuthGetRequestToken?scope=http://www...
https://www.google.com/accounts/OAuthAuthorizeToken
https://www.google.com/accounts/OAuthGetAccessToken
To register for a consumer key / upload your RSA public key:
https://www.google.com/accounts/ManageDomains
(see http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto....
for help on registering your domain)
Caveats:
- We currently only support RSA-SHA1 mode.
- The consumer key is the domain hostname you registered. Currently
there are no consumer_secrets.
- The scope parameter specifies the URL identifying the service to be
accessed. See http://code.google.com/apis/contacts/developers_guide_protocol.html
for details about the Google Contacts Data API.
You can download a sample client at http://weitu.googlepages.com/GoogleDataOAuthSample.jar.
Alternatively, Andy Smith (termie) has written a php test server
(http://term.ie/oauth/example/client.php?sig_method=RSA-SHA1) that
provides an easy way to test getting OAuth tokens with RSA. It uses
the example key pair on the OAuth wiki (http://wiki.oauth.net/
TestCases). We have set up a test consumer with
consumer_key=weitu.googlepages.com<http://weitu.googlepages.com> that uses the same RSA key pair for
you to test with.
Let me know if you run into any problems,
Wei
--
Chris Messina
Citizen-Participant &
Open Source Advocate-at-Large
Work: http://citizenagency.com
Blog: http://factoryjoe.com/blog
Cell: 412.225.1051
IM: factoryjoe
This email is: [ ] bloggable [X] ask first [ ] private