Hi Yu Wang,
I got it to work. Yahoo! AX implementation. I can now get the user profile info. This is the URL with the parameters:
https://open.login.yahooapis.com/openid/op/auth?
openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select
&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select
&openid.mode=checkid_setup
&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0
&openid.realm=##Your Domain name##
&openid.return_to=##Your Return URL##
&openid.ns.oauth=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Foauth%2F1.0
&openid.oauth.consumer=##Consumer Key##
&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0
&openid.ax.mode=fetch_request
&openid.ax.required=email,fullname,nickname
&openid.ax.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail
&openid.ax.type.fullname=http%3A%2F%2Faxschema.org%2FnamePerson
&openid.ax.type.nickname=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffriendly
You can only get specific fields from a persons profile as given
here.
In the Required field write the sregs property name (comma seperated) (like openid.ax.required=email,fullname,nickname)
and then give the schema also (like openid.ax.type.email=http%3A%2F%2Faxschema.org%2Fcontact%2Femail)
Rest parameters need not be changed except for giving your realm,Return Url and Consumer Key
Regards,
Varun