<div><div><div>>> Are you updating the implementation of TokenInfo Endpoint in production?</div><div>I don't know. We'll have to wait for Breno from Google to get online and offer his feedback.</div><div><br>
</div><div>>> I can obtain access_token infomation from TokenInfo Endpoint and successed other requests.</div><div>Great. As long as you have it working on your side, I'm sure we can eventually figure out why it doesn't work for me.</div>
<div><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 8:41 AM, Ryo Ito <span dir="ltr"><<a href="mailto:ritou.06@gmail.com">ritou.06@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> I can't tell if it works yet. Below is what I see after I try to login and<br>
> it looks like it is failing<br>
<br>
</div>Hi Eric<br>
<br>
Are you updating the implementation of TokenInfo Endpoint in production?<br>
I can obtain access_token infomation from TokenInfo Endpoint and<br>
successed other requests.<br>
<br>
Thanks.<br>
<br>
==========<br>
<br>
Obtain Access Token<br>
<br>
Request :<br>
<br>
POST /o/oauth2/token HTTP/1.1<br>
<div class="im">User-Agent: OpenID Connect Sample RP v0.0.1<br>
Host: <a href="http://accounts.google.com" target="_blank">accounts.google.com</a><br>
Accept: */*<br>
</div>Content-Length: 722<br>
Expect: 100-continue<br>
Content-Type: multipart/form-data;<br>
boundary=----------------------------73ff59c96f0c<br>
<br>
Response :<br>
<br>
{"access_token":"1/GydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno","token_type":"Bearer","expires_in":3600,"refresh_token":"1/uMfXLpHDZtPSSSA5F6wlhh9Kn9jTzvZE__Iiqk1u10A"}<br>
Token Info Endpoint<br>
<br>
Request :<br>
<br>
GET /o/oauth2/tokeninfo?access_token=1%2FGydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno<br>
<div class="im">HTTP/1.1<br>
User-Agent: OpenID Connect Sample RP v0.0.1<br>
Host: <a href="http://accounts.google.com" target="_blank">accounts.google.com</a><br>
Accept: */*<br>
<br>
Response :<br>
<br>
</div>HTTP/1.1 200 OK<br>
<div class="im">Cache-Control: no-cache, no-store, max-age=0, must-revalidate<br>
Pragma: no-cache<br>
Expires: Fri, 01 Jan 1990 00:00:00 GMT<br>
</div>Date: Mon, 18 Jul 2011 15:27:51 GMT<br>
Content-Type: application/json<br>
<div class="im">X-Content-Type-Options: nosniff<br>
X-Frame-Options: SAMEORIGIN<br>
X-XSS-Protection: 1; mode=block<br>
Server: GSE<br>
Transfer-Encoding: chunked<br>
<br>
</div>{"issued_to":"<a href="http://26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com" target="_blank">26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com</a>","audience":"<a href="http://26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com" target="_blank">26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com</a>","user_id":"114181308725730985237","scope":"<a href="https://www.googleapis.com/auth/userinfo.profile" target="_blank">https://www.googleapis.com/auth/userinfo.profile</a><br>
<a href="https://www.googleapis.com/auth/userinfo.email" target="_blank">https://www.googleapis.com/auth/userinfo.email</a>","expires_in":3599}<br>
Resource Access<br>
<br>
Request :<br>
<br>
GET /oauth2/v1/userinfo?access_token=1%2FGydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno<br>
<div class="im">HTTP/1.1<br>
User-Agent: OpenID Connect Sample RP v0.0.1<br>
Host: <a href="http://www.googleapis.com" target="_blank">www.googleapis.com</a><br>
Accept: */*<br>
<br>
Response :<br>
<br>
</div>HTTP/1.1 200 OK<br>
Expires: Mon, 18 Jul 2011 15:27:53 GMT<br>
Date: Mon, 18 Jul 2011 15:27:53 GMT<br>
Cache-Control: private, max-age=0, must-revalidate, no-transform<br>
ETag: "Oh0tyv4yGbXFtIv29XqIwBBct-M/upDb15gO7Q0wu1u_yXAGXy_5w1I"<br>
<div class="im">Content-Type: application/json; charset=UTF-8<br>
</div><div class="im">X-Content-Type-Options: nosniff<br>
X-Frame-Options: SAMEORIGIN<br>
X-XSS-Protection: 1; mode=block<br>
Server: GSE<br>
Transfer-Encoding: chunked<br>
<br>
</div>{<br>
"id": "114181308725730985237",<br>
"email": "<a href="mailto:ritou.06@gmail.com">ritou.06@gmail.com</a>",<br>
"verified_email": true,<br>
"name": "Ryo Ito",<br>
"given_name": "Ryo",<br>
"family_name": "Ito",<br>
"link": "<a href="http://profiles.google.com/ritou06" target="_blank">http://profiles.google.com/ritou06</a>",<br>
"gender": "male",<br>
"locale": "ja"<br>
}<br>
<br>
==========<br>
<font color="#888888">--<br>
====================<br>
Ryo Ito<br>
Email : <a href="mailto:ritou.06@gmail.com">ritou.06@gmail.com</a><br>
====================<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><div style="line-height:1.5em;padding-top:10px;margin-top:10px;color:rgb(85, 85, 85);font-family:sans-serif;font-size:small"><span style="border-top-width:2px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(213, 15, 37);border-right-color:rgb(213, 15, 37);border-bottom-color:rgb(213, 15, 37);border-left-color:rgb(213, 15, 37);padding-top:2px;margin-top:2px">Eric Sachs |</span><span style="border-top-width:2px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(51, 105, 232);border-right-color:rgb(51, 105, 232);border-bottom-color:rgb(51, 105, 232);border-left-color:rgb(51, 105, 232);padding-top:2px;margin-top:2px"> Senior Product Manager |</span><span style="border-top-width:2px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(0, 153, 57);border-right-color:rgb(0, 153, 57);border-bottom-color:rgb(0, 153, 57);border-left-color:rgb(0, 153, 57);padding-top:2px;margin-top:2px"> <a href="mailto:esachs@google.com" target="_blank">esachs@google.com</a> </span></div>
<br>
</div></div></div>