Google Groups Home Help | Sign in
OAuth support for Google Accounts and Contacts API
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
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
Wei  
View profile
(6 users)  More options Apr 25, 5:29 pm
From: Wei <weitu+oa...@google.com>
Date: Fri, 25 Apr 2008 14:29:11 -0700 (PDT)
Local: Fri, Apr 25 2008 5:29 pm
Subject: OAuth support for Google Accounts and Contacts API
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 that uses the same RSA key pair for
you to test with.

Let me know if you run into any problems,

Wei


    Reply    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.
Chris Messina  
View profile
(1 user)  More options Apr 25, 5:35 pm
From: "Chris Messina" <chris.mess...@gmail.com>
Date: Fri, 25 Apr 2008 14:35:57 -0700
Local: Fri, Apr 25 2008 5:35 pm
Subject: Re: [oauth] 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<weitu%2Boa...@google.com>>
wrote:

--
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    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.
Eran Hammer-Lahav  
View profile
 More options Apr 25, 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    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.
End of messages
« Back to Discussions « Newer topic     Older topic »

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