Version: 3.x. 3.x Book · 2.x Book · 1.3 Book · 1.2 Book · 1.1 Book. Nav You can configure authentication handlers in your controller's beforeFilter() or initialize() methods. public function initialize() { parent::initialize(); $this->loadComponent('Auth', Do not put other Auth configuration keys, such as authError , loginAction .