tags:

views:

82

answers:

1

I am using openid using openid4java. My return url is a servlet

After authentication when the return url is invoked by the openid provider after successfully authentication , i want the USERNAME from the open id url like https://me.yahoo.com/USERNAME

the above url i am recieving from parameter openid.identity i cannot get username directly since user is entering user name on the openid provider site.

Please give any suggestion Regards, Zeeshan

A: 

I'm not absolutely sure this is what you're asking, but if you want Yahoo to pass you a nickname or an email address for the user, you can add the Attribute Exchange extension to your OpenID request.

keturn
Hi keturn , i was able to get email of providers except yahoo, with your information i was able to retrieve email of yahoo also, Thanks
Zeeshan Khan