Welcome Guest, Not a member yet? Register   Sign In
Pure security CodeIgniter 4 auth system sample script.
#3

I second Myth:Auth, it's fully usable (with the caveat that it isn't "production-ready") and built from the ground up for CI4. it's also a great place to get familiar with module writing for CI4, especially since it is by CodeIgniter's own Lonnie. Smile

Most of my client projects implementing it are not open sourced but if you want an example of it integrated check out this repo (abandoned, but only a couple weeks ago):

https://github.com/tattersoftware/sefer

A few things to pay attention to...

* The module installed from develop branch via Composer: https://github.com/tattersoftware/sefer/...poser.json

* Config file that extends the module version, overwriting values I want changed: https://github.com/tattersoftware/sefer/...g/Auth.php

* The login filter used globally to require all traffic to be authenticated (probably won't usually want to do it this way): https://github.com/tattersoftware/sefer/...ilters.php

* A view layout (set by config/Auth.php) so the Auth views match the UI of the rest of the site: https://github.com/tattersoftware/sefer/...ws/layouts
Reply


Messages In This Thread
RE: Pure security CodeIgniter 4 auth system sample script. - by MGatner - 11-01-2019, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB