Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CodeIgniter Authentication System that allows 3rd party auth?

My question is rather simple. Is there a system for CodeIgniter that allows both local and 3rd party login? (Such as FB/Twitter/Google etc.)

I've tried A3M but it's hard to use and requires tinkering before it will even work out of the box, as is the case with outdated software.

My current solution is flexi auth, however it doesn't offer 3rd party login at all, and after an email to the developer it doesn't look like he's planning on integrating it anytime soon.

So does anyone know of a good system that is up-to-date and provides both 3rd party and local login?

If there isn't one, what other PHP framework does have such a package?

Edit for Clarity: I'm looking for a system that does both these things. While I appreciate the answers and comments with systems that I can integrate myself, the end result of that will be shaky at best. There's gotta be someone who's done this before, all integrated into one package so it's designed to work together.

like image 752
troytc Avatar asked Dec 22 '12 02:12

troytc


1 Answers

I was also looking for something like this just a month ago, but unsuccessfully. The only framework that has it all integrated in a simple way that I have seen is meteor, but it is not a PHP framework.

I had to do it myself by wrapping different PHP libraries in CI libraries. The source code is on github: CI Twitter and Who You Meet (a live web app), that has Twitter, LinkedIn and Facebook authentication and also a lot of local authentication logic with email verification and password recovery.

I know it can be considered a shameless promotion, but I hope it is useful. Although it is not exactly what you are looking for, it seems to be rather stable, so feel free to re-use it.

Maybe you will have time to extract all this logic in a standalone library (like I did for twitter) for other folks to use :)

like image 128
esp Avatar answered Sep 28 '22 03:09

esp