I am trying to incorporate openid authentication using LightOpenID. i modified the discovery url in example-google.php for integrating with yahoo! but i am not getting any attributes (i am at least able to fetch the email id with google.).
Asked
Active
Viewed 739 times
2
-
I've copy-pasted your code, tested it, and it works. What version of the library do you use? – Mewp Dec 17 '10 at 12:57
-
Can this question be marked as solved? – Martin Thoma Feb 12 '11 at 14:27
1 Answers
0
Just for any others searching night and day for the simple answer of retrieving a email address returned from lightopenid. THANKS FOR POSTING YOUR CODE. IT HELPED. In case others don't click your link. here is the code from your page above that allows for the transfer of email addresses.
$openid->required = array('contact/email');
// optional data
$openid->optional = array('namePerson','namePerson/friendly','birthDate','person/gender');

Richard Dev
- 1,110
- 7
- 21