CodeIgniter Forums
The best auth library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forum-7.html)
+--- Forum: Addins (https://forum.codeigniter.com/forum-13.html)
+--- Thread: The best auth library (/thread-64001.html)

Pages: 1 2


The best auth library - vertisan - 01-01-2016

Hi guys!

I looking for the best auth library for my app. I found:

IonAuth = https://github.com/benedmunds/CodeIgniter-Ion-Auth
Aauth = https://github.com/emreakay/CodeIgniter-Aauth
Community Auth = http://community-auth.com/

Which is best?


RE: The best auth library - solidcodes - 01-01-2016

you need to try all of those before you can decide which is better and the best?
But for me I choose Community-Auth because skunkbad is always here in the forum, so when you have questions you can always ask him.
I'm not sure if ben edmunds is always here in the forum? and emreakay?


RE: The best auth library - zjorge - 04-14-2017

I've been using IonAuth ever since I started with CodeIgniter back 2011.  So far I have never had the need for Ben's help.  Sure is good to have some support around but I thing is even better if that support is not even necessary! I think IonAuth is easy, well documented and very reliable.


RE: The best auth library - PaulD - 04-15-2017

To define 'best' you need to set some judging criteria. I have used IonAuth in the past because of the simplicity of the implementation, although community auth does offer some additional functionality. Both are excellent libraries IMHO.

Having said that, hybrid auth looks amazing too (https://github.com/hybridauth/hybridauth) and it does a completely different thing that the previous two. So best for you is not best for someone else requiring different functionality.

Before using any auth library, I would test them out, get to know how they work, how you can implement them and generally have a good play with one before considering using it in a live website.

Best wishes,

Paul.


RE: The best auth library - websterridge - 04-23-2017

(04-14-2017, 12:36 PM)zjorge Wrote: I've been using IonAuth ever since I started with CodeIgniter back 2011.  So far I have never had the need for Ben's help.  Sure is good to have some support around but I thing is even better if that support is not even necessary! I think IonAuth is easy, well documented and very reliable.

Big +1 for IonAuth quality.

I once did need Ben's help and it  was immediate, generous and effective.


RE: The best auth library - Junie - 06-28-2017

(04-15-2017, 02:36 AM)PaulD Wrote: To define 'best' you need to set some judging criteria. I have used IonAuth in the past because of the simplicity of the implementation, although community auth does offer some additional functionality. Both are excellent libraries IMHO.

Having said that, hybrid auth looks amazing too (https://github.com/hybridauth/hybridauth) and it does a completely different thing that the previous two. So best for you is not best for someone else requiring different functionality.

Before using any auth library, I would test them out, get to know how they work, how you can implement them and generally have a good play with one before considering using it in a live website.

Best wishes,

Paul.
Sir,

Do you have a code snippet about the hybridauth? I'm working with authentication that can handle multiple users in different groups. I'm still learning at this moment and currently I'm with IonAuth. Thanks Smile


RE: The best auth library - PaulD - 06-29-2017

No sorry. I have not had the opportunity or time to use it or test it. It just looks really good at casual reading.

I use ionauth because

1 - It has always worked flawlessly
2 - It seems rock solid (at least for what I want)
3 - It is just so easy to use and implement.

The only thing that irks me a bit about it is that it uses user['id'] and not user['user_id'] but if it bothered me enough I am sure that would be easy enough to modify.

I am starting a large project next month, and am thinking about facebook authentication, but am really not sure if people would use it. For instance I myself don't like using facebook logins as I think they are going to either access data about me I do not want them to or post to my wall when I do not want them to. I know this is something I can theoretically control, but am nevertheless concerned about it still.

If I do implement this, at that time I will give hybidauth a go, but I am concerned that connecting to so many api's is going to cause an avalanche of issues and maintenance problems in the future, some of which might be insoluble for me. So I will probably stick with Ionauth that I know pretty well. (And know I can easily debug and support should I need to).

If I ever do use hybridauth, I will certainly post any libraries I create here for you (or on github for feedback and suggestions).

Best wishes,

Paul.


RE: The best auth library - glorsh66 - 07-18-2017

Is IonAuth safe nowadays? I mean on its site said only about comparability with CodeIgniter 2.0


RE: The best auth library - InsiteFX - 07-18-2017

@PaulD or anyone else that needs it here is the link to the CodeIgniter 3x version for hybridauth

HybridAuth library for CodeIgniter 3.x


RE: The best auth library - PaulD - 07-18-2017

Very cool - thank you for sharing that link.