2012-01-17 132 views
1

。你可能注意到了,名字和性別計數爲0:的OpenID(Gmail或者myOpenID)只返回電子郵件

openid.assoc_handle={HMAC-SHA256}{4f156b67}{jEurHw%3D%3D}& 
openid.ax.count.email=1 
&openid.ax.count.first=0 
&openid.ax.count.gender=0 
&openid.ax.mode=fetch_response& 
openid.ax.type.email=http%3A%2F%2Fschema.openid.net%2Fcontact%2Femail& 
openid.ax.type.first=namePerson%2Ffirst& 
openid.ax.type.gender=http%3A%2F%2Fschema.openid.net%2Fgender 
&openid.ax.value.email.1=saad.alothman%40gmail.com 
&openid.claimed_id=http%3A%2F%2Fsaad-alothman.myopenid.com%2F 
&openid.identity=http%3A%2F%2Fsaad-alothman.myopenid.com%2F 
&openid.mode=id_res 
&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0 
&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0 
&openid.op_endpoint=http%3A%2F%2Fwww.myopenid.com%2Fserver& 
openid.response_nonce=2012-01-17T14%3A32%3A26ZvN5JP4 
&openid.return_to=https%3A%2F%2F192.168.133.17%3A10029%2Fwps%2FPA_openIdTest%2Fconsumer_returnurl.jsp 
&openid.sig=8%2FES2uury7SxehrYVlH9gef9pB3l1eNQzCLqFJDTXDk%3D& 

我嘗試者myOpenID和Gmail作爲供應商,但它僅發送電子郵件。從我的頁面重定向時的提供者頁面,它只顯示電子郵件是我在代碼中要求的一件事,但我已添加名稱和性別。

我想獲得除名稱,性別和DOB之外的電子郵件信息。

UPADTE:我用SREG擴展對象和我有三個值(姓名,電子郵件,暱稱),但是 仍然希望能夠得到這樣的地址的其他值...

+0

我沒有從gmail獲得響應參數驗證後,你可以讓我在哪裏問題可以嗎? – 2013-02-27 03:23:47

+0

是否需要在google aaps上註冊域名? – 2013-02-27 03:24:07

回答