This does not seem to help :(
I've added a log to watch when / which user arrives at isAuthorized and
found out that when using BASIC authentication, I can see the user without
a problem but when using DIGEST the isAuthorized function does not run at
all.
Another thing about all this : when al
in app controller
public function isAuthorized() {
return $this->Auth->user('id');
}
this should solve your problems.
On Fri, Nov 2, 2012 at 5:16 PM, Nir Regev wrote:
> Hi all !
>
> I'm rather mew to cake and trying to create a set of REST services with
> the need for DIGEST auth.
>
> conf
Hi all !
I'm rather mew to cake and trying to create a set of REST services with the
need for DIGEST auth.
configuration :
- I'm using cake 2.2.3
- in AppController I've got this setup :
public $components = array(
'RequestHandler',
'Session',
'Auth' => array(
'authenticate