Message from discussion
OAuth support for Google Accounts and Contacts API
Received: by 10.35.43.2 with SMTP id v2mr7945103pyj.3.1209159466553;
Fri, 25 Apr 2008 14:37:46 -0700 (PDT)
Return-Path: <e...@hueniverse.com>
Received: from manhattan.hueniverse.net (mail.hueniverse.net [72.90.189.27])
by mx.google.com with ESMTP id a28si916393pye.0.2008.04.25.14.37.45;
Fri, 25 Apr 2008 14:37:46 -0700 (PDT)
Received-SPF: pass (google.com: domain of e...@hueniverse.com designates 72.90.189.27 as permitted sender) client-ip=72.90.189.27;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of e...@hueniverse.com designates 72.90.189.27 as permitted sender) smtp.mail=e...@hueniverse.com
Received: from manhattan.hueniverse.net ([10.20.0.10]) by
manhattan.hueniverse.net ([10.20.0.10]) with mapi; Fri, 25 Apr 2008 17:34:21
-0400
From: Eran Hammer-Lahav <e...@hueniverse.com>
To: "oauth@googlegroups.com" <oauth@googlegroups.com>
Date: Fri, 25 Apr 2008 17:34:21 -0400
Subject: RE: [oauth] Re: OAuth support for Google Accounts and Contacts API
Thread-Topic: [oauth] Re: OAuth support for Google Accounts and Contacts API
Thread-Index: AcinG/Pv4X7p3tuNSjWIboAVB4h9ggAAA6sw
Message-ID: <1CF0CFAED429364597531B94A3D5905C45A62780B0@manhattan.hueniverse.net>
References: <4c821ace-5e27-4fbe-8e73-42606f5f0f4b@b9g2000prh.googlegroups.com>
<1bc4603e0804251435m71c5b4d4kcb46a2ec57ad5815@mail.gmail.com>
In-Reply-To: <1bc4603e0804251435m71c5b4d4kcb46a2ec57ad5815@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="_000_1CF0CFAED429364597531B94A3D5905C45A62780B0manhattanhuen_"
--_000_1CF0CFAED429364597531B94A3D5905C45A62780B0manhattanhuen_
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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 Ch=
ris 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%2B=
oa...@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=3Dhttp://www.goog=
le.com/m8/feeds
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.ht=
ml
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/GoogleDataO=
AuthSample.jar.
Alternatively, Andy Smith (termie) has written a php test server
(http://term.ie/oauth/example/client.php?sig_method=3DRSA-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=3Dweitu.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
--_000_1CF0CFAED429364597531B94A3D5905C45A62780B0manhattanhuen_
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xm=
lns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://w=
ww.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
=2EMsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'>In the spirit of Passover, please fill a cup with my name on =
it
and leave it untouched on the table…<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'>A few more weeks and all this East Coast nonsense will be ove=
r…<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'>EHL<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","=
sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in'>
<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma"=
,"sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
oauth@googlegroups.com [mailto:oauth@googlegroups.com] <b>On Behalf Of </b>C=
hris
Messina<br>
<b>Sent:</b> Friday, April 25, 2008 5:36 PM<br>
<b>To:</b> oauth@googlegroups.com<br>
<b>Subject:</b> [oauth] Re: OAuth support for Google Accounts and Contacts A=
PI<o:p></o:p></span></p>
</div>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>YAY!!!!!!!!<o:p></o:p></p>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>I'll definitely sponsor a round of drinks at tomorrow's
OAuth Hackathon! ;)<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>Chris<o:p></o:p></p>
<div>
<p class=3DMsoNormal>On Fri, Apr 25, 2008 at 2:29 PM, Wei <<a
href=3D"mailto:weitu%2Boa...@google.com">weitu+oa...@google.com</a>> wrot=
e:<o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>
Hi folks,<br>
<br>
We are happy to announce that the Google Contacts Data API now<br>
supports OAuth. This is our first step towards OAuth enabling all<br>
Google Data APIs. Please note that this is an alpha release and we may<br>
make changes to the protocol before the official release. I will be<br=
>
at the OAuth hackathon tomorrow to get feedback and help consumers<br>
integrate.<br>
<br>
Here are the three end points used in OAuth to get a token:<br>
<a
href=3D"https://www.google.com/accounts/OAuthGetRequestToken?scope=3Dhttp://=
www.google.com/m8/feeds"
target=3D"_blank">https://www.google.com/accounts/OAuthGetRequestToken?scope=
=3Dhttp://www.google.com/m8/feeds</a><br>
<a href=3D"https://www.google.com/accounts/OAuthAuthorizeToken" target=3D"_b=
lank">https://www.google.com/accounts/OAuthAuthorizeToken</a><br>
<a href=3D"https://www.google.com/accounts/OAuthGetAccessToken" target=3D"_b=
lank">https://www.google.com/accounts/OAuthGetAccessToken</a><br>
<br>
To register for a consumer key / upload your RSA public key:<br>
<a href=3D"https://www.google.com/accounts/ManageDomains" target=3D"_blank">=
https://www.google.com/accounts/ManageDomains</a><br>
(see <a
href=3D"http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto=
.html"
target=3D"_blank">http://code.google.com/apis/accounts/docs/RegistrationForW=
ebAppsAuto.html</a><br>
for help on registering your domain)<br>
<br>
Caveats:<br>
- We currently only support RSA-SHA1 mode.<br>
- The consumer key is the domain hostname you registered. Currently<br=
>
there are no consumer_secrets.<br>
- The scope parameter specifies the URL identifying the service to be<br>
accessed. See <a
href=3D"http://code.google.com/apis/contacts/developers_guide_protocol.html"
target=3D"_blank">http://code.google.com/apis/contacts/developers_guide_prot=
ocol.html</a><br>
for details about the Google Contacts Data API.<br>
<br>
You can download a sample client at <a
href=3D"http://weitu.googlepages.com/GoogleDataOAuthSample.jar" target=3D"_b=
lank">http://weitu.googlepages.com/GoogleDataOAuthSample.jar</a>.<br>
Alternatively, Andy Smith (termie) has written a php test server<br>
(<a href=3D"http://term.ie/oauth/example/client.php?sig_method=3DRSA-SHA1"
target=3D"_blank">http://term.ie/oauth/example/client.php?sig_method=3DRSA-S=
HA1</a>)
that<br>
provides an easy way to test getting OAuth tokens with RSA. It uses<br=
>
the example key pair on the OAuth wiki (<a href=3D"http://wiki.oauth.net/"
target=3D"_blank">http://wiki.oauth.net/</a><br>
TestCases). We have set up a test consumer with<br>
consumer_key=3D<a href=3D"http://weitu.googlepages.com" target=3D"_blank">we=
itu.googlepages.com</a>
that uses the same RSA key pair for<br>
you to test with.<br>
<br>
Let me know if you run into any problems,<br>
<br>
Wei<br>
<br>
<o:p></o:p></p>
</div>
<p class=3DMsoNormal><br>
<br clear=3Dall>
<br>
-- <br>
Chris Messina<br>
Citizen-Participant &<br>
Open Source Advocate-at-Large<br>
Work: <a href=3D"http://citizenagency.com">http://citizenagency.com</a><br>
Blog: <a href=3D"http://factoryjoe.com/blog">http://factoryjoe.com/blog</a><=
br>
Cell: 412.225.1051<br>
IM: factoryjoe<br>
This email is: [ ] bloggable [X] ask first [ ] private <o:p></o:p></p>
</div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>
</div>
</body>
</html>
--_000_1CF0CFAED429364597531B94A3D5905C45A62780B0manhattanhuen_--