[Cubicweb] trustedauth: cannot get it to work

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Tue Jul 16 17:24:45 CEST 2013

Le 16/07/2013 16:57, Julien Cristau a écrit :
> You can't debug that from the client, since this is all between apache
> and cubicweb.
> Your debug log contains:
> 2013-07-16 14:21:13 - (cubicweb.appobject) DEBUG: web authenticator building auth info
> 2013-07-16 14:21:13 - (cubicweb.appobject) DEBUG: encoding info for None
> which as far as I can tell means there's no x-remote-user header,
> though.  See
> http://hg.logilab.org/master/cubes/trustedauth/file/c26b9d268046/views.py#l48
> Cheers,
> Julien

I see. I will have to debug this issue, probably by printing out "req". 
But then I don't understand why an exception is not thrown at some point 
in authentication_information(), which would send this useful error message:
	self.debug('web authenticator failed (%s)', exc)

Dimitri Papadopoulos
I2BM, NeuroSpin
F-91191 Gif-sur-Yvette cedex, France

More information about the Cubicweb mailing list