Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion OAuth support for Google Accounts and Contacts API
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eran Hammer-Lahav  
View profile  
 More options Apr 25 2008, 5:34 pm
From: Eran Hammer-Lahav <e...@hueniverse.com>
Date: Fri, 25 Apr 2008 17:34:21 -0400
Local: Fri, Apr 25 2008 5:34 pm
Subject: RE: [oauth] Re: OAuth support for Google Accounts and Contacts API

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google