Authentication and Authorization
Now the final step. The AuthComponent is deprecated, so you should move to the new approach using Authentication and Authorization plugins.
The CakePHP Book has everything you need to upgrade your auth layer here
Go to the next step (Enjoy your app!)
Prefer to have the upgrade done for you? See Upgrade to CakePHP 5.