Welcome Guest, Not a member yet? Register   Sign In
how to install Myth/Auth or Ion_Auth for ci4
#1

(This post was last modified: 01-30-2021, 03:39 AM by arjan.)

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.
Reply
#2

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

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

Manual Install Myth/Auth and Boilerplate.
What did you Try? What did you Get? What did you Expect?

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

Thanx, it works now!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB