Authentication plugin: install & use

Trying to find a solution, next page I visit is CMS Tutorial - Authentication. Whatever I wil read on this page, my expectation is that it builds on Quick Start - 2.x CakePHP Authentication, links between those two pages would be nice I think.

Reading there are some differences which make me wonder:

  • The earlier in this topic mentioned composer-command;
  • The QuickStart adds

public function bootstrap(): void
{
parent::bootstrap();

$this->addPlugin('Authentication');

}

to Application.php, the Tutorial doesn’t?

  • The QuickStart uses ‘allowUnauthenticated’, the Tutorial ‘addUnauthenticatedActions’. Somewhere in the cookbook will be the details, I hope.

But nothing about allowing unauthenticated access to a page :frowning: