tst2005googlecode / step2

Automatically exported from code.google.com/p/step2
1 stars 0 forks source link

AX Fetch Country Response is empty #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using google's open id url and checked the "country" field. in the
"approval" page, google doesn't say the RP ask for my country. And in the
result page, the AX Fetch Country Response is empty.

in my google profile, "Where I live now" is filled

from firebug, in the outgoing http request, the following does exist:
openid.ext1.required=email,country
openid.ext1.type.country=http://axschema.org/contact/country/home

but at the end, google doesn't seem to send back the country info. i've
added log at ConsumerHelper that shows only the following:

authResponse: openid.op_endpoint:https://www.google.com/accounts/o8/ud
openid.signed:op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_han
dle,ns.ext1,ext1.mode,ext1.type.email,ext1.value.email
openid.ns.ext1:http://openid.net/srv/ax/1.0
openid.sig:Gx2xi2Pd65ERQknVwuJPM+SlIz+x0BN7e0CRJwprFGE=
openid.response_nonce:2009-02-09T07:15:47ZFN-EoQLu5AuLMg
openid.claimed_id:https://www.google.com/accounts/o8/id?id=AItOawm8x8-_qlWnnYXTy
4kwbutoHuv_wMxCe4g
openid.assoc_handle:AOQobUdxHomG03ZUfTOmEgHYQ9syfOjfr1vN_Vo9rr4-bW2Ld0dlrKCHfTqr
v35oImkaad_y
openid.ext1.value.email:MY_EMAIL_ADDRESS
openid.ns:http://specs.openid.net/auth/2.0
openid.identity:MY_OPENID
wbutoHuv_wMxCe4g
openid.ext1.type.email:http://axschema.org/contact/email
openid.mode:id_res
openid.ext1.mode:fetch_response
openid.return_to:http://localhost:8080/checkauth

Original issue reported on code.google.com by mingfai...@gmail.com on 9 Feb 2009 at 7:28

GoogleCodeExporter commented 9 years ago
just updated to the latest snapshot. basically, all fields except the email 
field are
empty on the result screen.

    * AX Fetch Email Response : MY EMAIL ADDRESS
    * AX Fetch Country Response:
    * AX Fetch Language Response:
    * AX Fetch First Name Response:
    * AX Fetch Last Name Response:
    * AX Validated Email:

Original comment by mingfai...@gmail.com on 9 Feb 2009 at 10:12

GoogleCodeExporter commented 9 years ago
Right, these features are not currently supported by the Google Accounts OP, so 
it is
not an issue with this library.

There is no need to fix anything here, just hope for support at the OP.

Original comment by breno.de...@gmail.com on 10 Feb 2009 at 4:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Google doesn't do the country field it appears. I've checked and checked again 
and
for me only email, firstname and lastname works. 

By the way, Google has a second "bug" with it's AX. It won't return firstname 
and
lastname unless you make them required. If you use the if_available type it 
won't
bother setting them. 

Original comment by pete...@gmail.com on 22 Apr 2010 at 9:24