Welcome Guest, Not a member yet? Register   Sign In
OpenID library problem
#1

[eluser]dootzky[/eluser]
Hi guys,

I've been trying to implement OpenID library to my project, but without luck.

I can't get pass the part where openID library is trying to include some Auth/OpenID files, and I don't have them, and can't seem to find them anywhere on the net, to download them and include them in my project properly.

This is the code where I fail, since I don't have these files:

Code:
function _doIncludes()
{
    set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());

    require_once "Auth/OpenID/Consumer.php";
    require_once "Auth/OpenID/FileStore.php";
    require_once "Auth/OpenID/SReg.php";
    require_once "Auth/OpenID/PAPE.php";
}

Can anyone help? Download link to this "Auth/OpenID/" package would be sufficient, I guess, but I just can't find it anywhere. :gulp:

Thanks for your time and effort.
Regards,
dootzky
#2

[eluser]matthewr[/eluser]
Interesting! CI with OpenID. I have no plans in implimenting OpenID to my projects in the near future, but I'd be very interested to see how it's done.

I hope you get to solve you problem soon!
#3

[eluser]dootzky[/eluser]
Thanks for support, I'll do my best to figure this one out. Smile
I'll hallaback here when I get it straight.

Cheers,
dootzky
#4

[eluser]Matthieu Fauveau[/eluser]
http://openidenabled.com/files/php-openid/

Yes I know, I master Google Smile
#5

[eluser]dootzky[/eluser]
My company rejected OpenID idea at this moment, so I won't be trying anymore to implement OpenID, but if I ever do - I'll post back here, and give you any relative code. Smile

Thanks for the help and the links.
I love CI community. Smile
#6

[eluser]dootzky[/eluser]
ok, year and a half later, I'm back - and it worked.
you just need to download a proper library package, from here:

http://openidenabled.com/php-openid/

and DON'T download the 1.2.3 version, instead, download the 2.1.3 version, from the link below:

http://openidenabled.com/files/php-openi...-2.1.3.zip

once you get that, make sure that the files you downloaded and unpacked are in the right place (/system/application/libraries/), and make sure that they are 'readable' (if you're running Linux, you should know those things..) , and you're set.

Good luck people.
It's good to be back with a success story. ^_^

cheers from Serbia!
dootzky




Theme © iAndrew 2016 - Forum software by © MyBB