Welcome Guest, Not a member yet? Register   Sign In
EasyOpenID Library
#11

[eluser]kbjr[/eluser]
i think i know what's wrong. in the file OpenID.php, go to line 813. replace lines 813 and 814 with the following:
Code:
$ax_resp = Auth_OpenID_AX_FetchResponse::fromSuccessResponse($response);
$data = $ax_resp->data;

edit:
the new source code on github is now up-to-date
#12

[eluser]jkevinburton[/eluser]
I've done what you asked, but I am still getting the same response.
#13

[eluser]kbjr[/eluser]
alright, i've found and fixed the bug that you were encountering. the new source code is on github.
#14

[eluser]quasiperfect[/eluser]
hi

it works with ci2 ?

if so i got a error Fatal error: Call to a member function addExtension() on a non-object in C:\wamp\www\codeigniter\application\libraries\OpenID.php on line 644

can u please post a full working example with the package on github
#15

[eluser]kbjr[/eluser]
I don't know if it would work with CI2 or not, I haven't tried it.
#16

[eluser]loopy2[/eluser]
Hi, does this library include Facebook, MSN for authentication? like facebook connect or whatever you call it?
#17

[eluser]kbjr[/eluser]
No, it does not. I intend on including both of those in the next major build, but that may be some time from now. Right now it supports Google, Yahoo, MySpace, Blogger, AOL, and it has general SREG/AX OpenID support.
#18

[eluser]quasiperfect[/eluser]
tried the code again on ci1.7 got the same error Fatal error: Call to a member function addExtension() on a non-object in C:\wamp\www\ci1\application\libraries\OpenID.php on line 644
#19

[eluser]quasiperfect[/eluser]
i use wamp on windows and after some research i found out the problem

after curl_init();
i needed to add
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);

curl_init() calls can be found in
Auth\Yadis\ParanoidHTTPFetcher.php lines 92,96 and 191

read why here http://unitstep.net/blog/2009/05/05/usin...ted-sites/

this modification is only so u can play on windows localhost wamp
don't use this on a live server

this fixes the problem for google but for yahoo the error remains
#20

[eluser]kbjr[/eluser]
thanks, i will add a note about that in the readme




Theme © iAndrew 2016 - Forum software by © MyBB