CodeIgniter Forums
how to install Myth/Auth or Ion_Auth for ci4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34)
+--- Thread: how to install Myth/Auth or Ion_Auth for ci4 (/showthread.php?tid=78499)



how to install Myth/Auth or Ion_Auth for ci4 - arjan - 01-30-2021

A long time ago i`ve played a lot with ci3, which i did loved. Now after some years not doing any programming at all, i`m back at it. Right now i am researching how ci4 works.

I need a authentication library, so i found out that myth/auth probably would be the right choice.

So i tried to install it, first using composer, then i did try to do it manually whereby i added the location of myth/auth to the autoload.php file. I installed the database php spark etc and this works, but the routes do not work at all. I always get 404.

I also tried a codeigniter 4 branch of edmunds ion_auth which i used a lot on ci3. But i have the same problem, i add the location to autoload, but then all routes result in 404 errors.

So what am i missing? Why are all the routes resulting in 404. Hope someone can point me in the right direction... Because i don`t have a clue on how to solve this.

Greets,
Arjan.


RE: how to install Myth/Auth or Ion_Auth for ci4 - ikesela - 01-30-2021

not much info, but i didi try myth/auth, its work perfectly on cI4


RE: how to install Myth/Auth or Ion_Auth for ci4 - InsiteFX - 01-31-2021

You can read this topic that I explain how to manually install Myth/Auth and Boilerplate.

Manual Install Myth/Auth and Boilerplate.


RE: how to install Myth/Auth or Ion_Auth for ci4 - arjan - 01-31-2021

Thanx, it works now!