[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-02 Thread Scotto Alberto
Yep! That's something I was mumbling about. Thanks to you, I've just given it a try. It's not that easy peasy: REST returns 200 even if you are not authenticated. But you can deduce if you have been auth'd from the HTML page you get, searching for 'span id=not-logged-in ', for example. What

Re: [rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-02 Thread Thomas Sibley
On 01/02/2013 03:44 PM, Scotto Alberto wrote: Yep! That's something I was mumbling about. Thanks to you, I've just given it a try. It's not that easy peasy: REST returns 200 even if you are not authenticated. But you can deduce if you have been auth'd from the HTML page you get, searching

Re: [rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-31 Thread Thomas Sibley
On 12/27/2012 04:57 PM, Scotto Alberto wrote: I've just shared my script on rt wikia :) http://requesttracker.wikia.com/wiki/Rt-auth-user Any improvements are welcome. For example, I suspect there's a better way to do it (it = authenticating against external auths first, and then the

[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-27 Thread Scotto Alberto
Oh, thank you, my saviour! I was guessing it was about my lack of knowledge of the library (missing some parameters), so didn't think of the obvious.. Btw, I just had to give my 'selfservice' user read permissions for etc/ files Happy new year to all of you, and thank you all for your support

[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-27 Thread Scotto Alberto
I've just shared my script on rt wikia :) http://requesttracker.wikia.com/wiki/Rt-auth-user Any improvements are welcome. For example, I suspect there's a better way to do it (it = authenticating against external auths first, and then the local RT's DB). I'd expect to call only DoAuth, and