[Openid-specs-ab] [board-private] OpenID Connect Launch Commencement
Ryo Ito
ritou.06 at gmail.com
Mon Jul 18 15:41:13 UTC 2011
> I can't tell if it works yet. Below is what I see after I try to login and
> it looks like it is failing
Hi Eric
Are you updating the implementation of TokenInfo Endpoint in production?
I can obtain access_token infomation from TokenInfo Endpoint and
successed other requests.
Thanks.
==========
Obtain Access Token
Request :
POST /o/oauth2/token HTTP/1.1
User-Agent: OpenID Connect Sample RP v0.0.1
Host: accounts.google.com
Accept: */*
Content-Length: 722
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------73ff59c96f0c
Response :
{"access_token":"1/GydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno","token_type":"Bearer","expires_in":3600,"refresh_token":"1/uMfXLpHDZtPSSSA5F6wlhh9Kn9jTzvZE__Iiqk1u10A"}
Token Info Endpoint
Request :
GET /o/oauth2/tokeninfo?access_token=1%2FGydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno
HTTP/1.1
User-Agent: OpenID Connect Sample RP v0.0.1
Host: accounts.google.com
Accept: */*
Response :
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Mon, 18 Jul 2011 15:27:51 GMT
Content-Type: application/json
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked
{"issued_to":"26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com","audience":"26633205769-0s9fgairnfs1j9qdsobdjr06lvo8o2bv.apps.googleusercontent.com","user_id":"114181308725730985237","scope":"https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email","expires_in":3599}
Resource Access
Request :
GET /oauth2/v1/userinfo?access_token=1%2FGydM9bdb73_aEVcgCXqhKeArpudog2wkzEy_kM_7cno
HTTP/1.1
User-Agent: OpenID Connect Sample RP v0.0.1
Host: www.googleapis.com
Accept: */*
Response :
HTTP/1.1 200 OK
Expires: Mon, 18 Jul 2011 15:27:53 GMT
Date: Mon, 18 Jul 2011 15:27:53 GMT
Cache-Control: private, max-age=0, must-revalidate, no-transform
ETag: "Oh0tyv4yGbXFtIv29XqIwBBct-M/upDb15gO7Q0wu1u_yXAGXy_5w1I"
Content-Type: application/json; charset=UTF-8
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked
{
"id": "114181308725730985237",
"email": "ritou.06 at gmail.com",
"verified_email": true,
"name": "Ryo Ito",
"given_name": "Ryo",
"family_name": "Ito",
"link": "http://profiles.google.com/ritou06",
"gender": "male",
"locale": "ja"
}
==========
--
====================
Ryo Ito
Email : ritou.06 at gmail.com
====================
More information about the Openid-specs-ab
mailing list