Im running cakephp 2.6 and the xamp webserver and im trying to get Digest Auth to work with cakephp.
When i use it keeps asking for the username and password over and over again. Im not sure whats wrong or how to fix this. I havnt found a tutorial on how to use digest auth in cakephp.
Ive followed the guide in cakephp manual;
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html
App controller;
public $components=array(
'Session', 'Security',
'Auth'=>array(
'loginRedirect'=>array('controller'=>'users','action'=>'index'),
'logoutRedirect'=>array('controller'=>'users','action'=>'index'),
'authError'=>'Access Denied: You are not authorized to view that page.',
'authorize'=>array('Controller'),
'authenticate' => array('Digest')
)
);
Any ideas whats wrong?