Hello guys, I started a project with cakephp recently, about 1 or 2 months ago. Parts of the project already developed:
Routes, templates (respective views), controllers (respective functions for each view).
I’m stuck trying to implement the cakephp “Authentication” plugin. I need to implement the authentication functionality to proceed with the rest of the system, such as access control, for example. My doubt is:
Can I find another way or means to implement authentication? or just with plugins?
Of course you can write your own, but authentication is very hard to get right, and very easy to make not very secure. Using a plugin (there are many options) is a good way to save a lot of time and get a robust solution.
I’m a beginner in the programming area, I have almost 9 months of experience, I had a brief contact with JS (react and nextjs), currently after contact with PHP, I developed some projects with pure PHP but now I’m adopting Frameworks.
When I tried to install the plugin as the documentation suggests, it reported that some directories requested permission. There were many permission requests. I almost gave up. But, after granting the necessary permissions I was able to install it.
Now I’m trying to implement authentication.
Thanks for the answer!!!
Absolutely - don’t re-invent the wheel. The existing plugins are great!
I showcased the whole setup process from a fresh app installation here:
Maybe this helps you get a feel for it.
Hello,
Can you please explain your problem in more.