Welcome Guest, Not a member yet? Register   Sign In
Need of Built in Authentication system
#1

Hi,
I recently doing a major project on Codeigniter 4.1.5 and it was proposed to be done in Laravel. But the improvements in the latest version of Codeigniter 4 was sufficient for us to continue in CI4. Our team was tested and did some mock projects around a few months for testing the new framework and it's simply amazing. Kudos for developers and maintaners for keeping this framework as simple as possible. 
Only one thing we really miss , not only me my team mates also, is the lacking of some important built in capabilities Authentication,ORM etc.. There is few items in our list, but I didn't vote for that. But I'm just want to say that the framework will much better if we integrate built in Authentication capability. Becasue most of the applications are build with authentication functionality. That will help this framework to next level. So I wish authentication plugin needs to be there in 4.2 or 4.3.
Thanks
Reply
#2

Hi,

Well, IMHO, I don't think a built-in authentication will be great, even laravel doesn't come with any authentication built-in. In fact, you cannot get the debug bar that CI4 provides out-of-the-box in laravel except you install a package.

With that being said, I believe that most of these frameworks try to keep things simple, so that you can always "extend" or "add" as your project requires.

I recommend you check out this CI4 authentication plugin. It is very robust and secure too. I've used it in a couple of projects and it worked just fine for all use cases.

Regards.
Reply
#3

What your asking for are created as modules and that's just what Myth/Auth is a reusable module.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

There is the SimpleAuth module... It's really great!!
https://github.com/GeekLabsUK/SimpleAuth/

There is still a typo bug.
See the issue at https://github.com/GeekLabsUK/SimpleAuth/issues/4
Reply
#5

(This post was last modified: 11-26-2021, 04:07 AM by kenjis.)

https://codeigniter.com/user_guide/exten...ation.html

See https://packagist.org/providers/codeigni...ementation
and https://github.com/lonnieezell/codeigniter-shield
Reply
#6

Yes, there is an third party auth library available, but it causes some issues also. One example, is I can't use guzzlehttp library with myth/auth. So if we can integrate built in auth system, this wouldn't happen, I guess.
Reply
#7

(This post was last modified: 11-29-2021, 03:46 AM by InsiteFX.)

Why? jQuery uses guzzle and it runs fine with Myth/Auth.

SEE: Boilerplate with Myth/Auth in the Addins Topic.
Uses a jQuery Menu system.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#8

(11-29-2021, 12:38 AM)Kiranrs Wrote: I can't use guzzlehttp library with  myth/auth. So if we can integrate built in auth system, this wouldn't happen, I guess.

As InsiteFX says, I also don't understand why you can't.
And why built-in auth system can.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB