how to get the email after login through openId provider

43 views
Skip to first unread message

Satya Prakash

unread,
Jan 4, 2011, 7:46:40 AM1/4/11
to JOpenID Discussion Group
In in web application i am using JOpenId where it allow to login
through google or yahoo. what i need now after login i need the email
id of the account through which it login

Michael Liao

unread,
Jan 4, 2011, 8:12:14 PM1/4/11
to jopenid-disc...@googlegroups.com
You can get email from Authentication object. See test case:

But if user does not allow sending email address you will get null.
--
  Best regards,

Michael Liao
Reply all
Reply to author
Forward
0 new messages