0

OpenID attribute exchange

Hi,

I have been trying to fetch user's nickname and email with the attribute exchange extension of openid.

The Auth_OpenID_AX_FetchResponse() class fromSuccessResponse is able to fetch the details of a gmail user, but these details are not accessed when I am trying to log in using my yahoo login credentials.

The object for attribute exchange comes blank after successfull verification.


Please someone help me.

by
5 Replies
  • Hi Gaurav,

    Do you still see this issue? If so, can you please send a recent
    example here?

    Thanks,
    Yu Wang
    Yahoo! Membership
    0
  • I'm having this same issue.

    I'm new to OpenID but both sreg and AX responses are empty for yahoo ID ... AX is populated for google login...
    0
  • QUOTE (Robert @ Mar 27 2010, 10:04 AM) <{POST_SNAPBACK}>
    I'm having this same issue.

    I'm new to OpenID but both sreg and AX responses are empty for yahoo ID ... AX is populated for google login...



    When you form your attributes array (for requesting information)

    use like this

    $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/contact/email',1,1, 'email');

    in the second attribute you must be providing '2' that should be corrected. It should be changed to '1'. Then you will get the values.

    Visit here for more explanation
    http://stackoverflow.com/questions/2616123...work-with-yahoo
    0
  • Hi Robert,

    Can you please provide a sample request? For AX, we Currently
    support the following attributes within the axschema.org namespace:

    "nickname" => "http://axschema.org/namePerson/friendly",
    "fullname" => "http://axschema.org/namePerson",
    "email" => "http://axschema.org/contact/email",
    "gender" => "http://axschema.org/person/gender",
    "language" => "http://axschema.org/pref/language",
    "timezone" => "http://axschema.org/pref/timezone",
    "image" => "http://axschema.org/media/image/default"

    We don't support SREG now.

    Thanks,
    Yu Wang
    0
  • QUOTE (omiga @ Mar 28 2010, 11:16 AM) <{POST_SNAPBACK}>
    Hi Robert,

    Can you please provide a sample request? For AX, we Currently
    support the following attributes within the axschema.org namespace:

    "nickname" => "http://axschema.org/namePerson/friendly",
    "fullname" => "http://axschema.org/namePerson",
    "email" => "http://axschema.org/contact/email",
    "gender" => "http://axschema.org/person/gender",
    "language" => "http://axschema.org/pref/language",
    "timezone" => "http://axschema.org/pref/timezone",
    "image" => "http://axschema.org/media/image/default"

    We don't support SREG now.

    Thanks,
    Yu Wang


    Thanks for your help.

    I requested email, firstname, lastname, (or fullname) and friendly in my fetchrequest.

    I am getting fullname and email now.

    I think yahoo fixed the issue. Now I am getting proper values.


    Thanks
    0

Recent Posts

in OpenID General Discussion