Finally, OpenID made simple! |
[eluser]ciscoheat[/eluser]
I'm happy to announce that OpenID just became quite a simple process! A company called JanRain is providing RPX, a great service for us who just wants it to work: https://rpxnow.com/ I made a library for CI, check it out if you like! (with some code examples) http://codeigniter.com/wiki/OpenIDRpx/
[eluser]longlostcousin[/eluser]
this is pretty neat. got it working on a development site easily. thanks! for certain projects this could be useful and i may just abandon some auth systems and build stuff around this.
[eluser]ciscoheat[/eluser]
[quote author="longlostcousin" date="1250120555"]for certain projects this could be useful and i may just abandon some auth systems and build stuff around this.[/quote] Definitely, It's great to avoid a user account system. It seems that Google, Hotmail, Facebook and Myspace covers 98% of all users. Good enough for me. ![]() Right now I'm using CI's session cookie (encrypted) to store the identifier. Any ideas if there are better ways to do the authorization when the user is confirmed?
[eluser]itibook[/eluser]
Hi ciscoheat, this looks very good... I am going to give it a try and let you know how it goes... Luca
[eluser]ChazUK[/eluser]
Hey ciscoheat, I've only just started learning how to use CI and OpenID with RPX so I was wondering if you could show us a detailed example of your script in action. I'm quite unsure of how to configure it properly within the CI Platform. Thanks
[eluser]adamp1[/eluser]
I'm using this for a new review site. I have to say when I saw this it made my day. I am hoping to interoperate it as well into the next version of BackendPro if anyone here is interested.
[eluser]itibook[/eluser]
just for the record I tried it out and it worked fine, really nice. I had to postpone the integration due to other priorities I haven't used backendpro as I am still learning CI, but it would totally make sense to have this integrated there... ciao Luca
[eluser]ChazUK[/eluser]
Can anyone give me an overview of how to get it working? I don't understand where to put the code on the wiki page.
[eluser]itibook[/eluser]
Hi you can simply download the zip file from the wiki and install the files (there are 2) in the respective directories (one goes under applica->config, the other under application->libraries).. you cna then create a controller to handle the information sent from RPX to your server. Something like this... Code: <?php hope it helps ciao Luca
[eluser]ChazUK[/eluser]
Hmmmm, So what do I have to put in the view? And that to me looks like it's just loading the library, and then if you go to /Rpx/verify it will check for the token. Maybe I'm just being dumb. |
Welcome Guest, Not a member yet? Register Sign In |