Authentication through URL params

Hi, I want to authenticate customers through the URL vars because I want to integrate OTRS with another system. The idea is to call customer.pl in that way Customer.pl?user=name&password=key Is it possible? Thank you for reading and for any advice Best regards Adrián Deccico

On Thursday, June 10, 2004 5:36 PM
Adrián Deccico
I want to authenticate customers through the URL vars because I want to integrate OTRS with another system. The idea is to call customer.pl in that way Customer.pl?user=name&password=key
If it were possible for you to set the environment variable REMOTE_USER, you will want to use: # This is an example configuration for an apache ($ENV{REMOTE_USER}) # auth. backend. Use it if you want to have a singe login through # apache http-basic-auth $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth'; # Note: # If you use this module, you should use as fallback the following # config settings if user isn't login through apache ($ENV{REMOTE_USER}) $Self->{LoginURL} = 'http://host.example.com/not-authorised-for-otrs.html'; $Self->{LogoutURL} = 'http://host.example.com/thanks-for-using-otrs.html'; hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

Hi Robert, thanks for your answer. The page where I put the link
Customer.pl?user=name&password=key
is coded in PHP and phisically is in other Apache web server than the OTRS. Is there any way to set the ($ENV{REMOTE_USER} ? best regards Adrián
On Thursday, June 10, 2004 5:36 PM Adrián Deccico
wrote: I want to authenticate customers through the URL vars because I want to integrate OTRS with another system. The idea is to call customer.pl in that way Customer.pl?user=name&password=key
If it were possible for you to set the environment variable REMOTE_USER, you will want to use:
# This is an example configuration for an apache ($ENV{REMOTE_USER}) # auth. backend. Use it if you want to have a singe login through # apache http-basic-auth $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth'; # Note: # If you use this module, you should use as fallback the following # config settings if user isn't login through apache ($ENV{REMOTE_USER}) $Self->{LoginURL} = 'http://host.example.com/not-authorised-for-otrs.html'; $Self->{LogoutURL} = 'http://host.example.com/thanks-for-using-otrs.html';
hth,
Robert Kehl
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
-- +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl

On Thursday, June 10, 2004 7:33 PM
Deccico Adrian
The page where I put the link
Customer.pl?user=name&password=key is coded in PHP and phisically is in other Apache web server than the OTRS. Is there any way to set the ($ENV{REMOTE_USER} ?
Several, not to say thousands. http://httpd.apache.org/docs-2.0/howto/auth.html knows the most common used. The link you're searching for is: http://otrs.example.com/otrs/customer.pl?&Action=Login&User=<USERNAME>&Password=<PASSWORD> Replace <USERNAME> and <PASSWORD> with appropriate values. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (3)
-
Adrián Deccico
-
Deccico Adrian
-
Robert Kehl