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
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
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
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
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