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

2013-01-13 Thread Scotto Alberto
Hi Thomas, a part from using REST, which is undoubtably the best solution for my problem.. Back to the design debate about input validation.. I wrongly talked about the View layer as the place to validate the input. Now I have the correct answer: the right place for that is the Model. A nice

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

2013-01-02 Thread Christian Loos
Hi, why not just call in you PHP app https://your-rt-server-url/REST/1.0/ with user and pass as post parameter and check the first line of the response for the status * 200 Ok = successful login * 401 Credentials required = not successful login Chris Am 20.12.2012 12:56, schrieb Scotto

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

2012-12-27 Thread Kevin Falcone
On Thu, Dec 20, 2012 at 11:56:44AM +, Scotto Alberto wrote: But for security reasons I want to execute it as another user (I created the Unix user selfservice, as well as the RT user selfservice). Executing the script as this Unix user, DoAuth fails with the following message:

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

2012-12-20 Thread Scotto Alberto
Hi all, I'm writing a PHP application (a cloud self-service application that lets developers create testing environments and so on) for the company where I also installed RT. For the authentication part, I thought to authenticate users against RT, since the users of my PHP app are a subset of