Hello guys, I'm trying to integrate OTRS with CAS and I'm having trouble
redirecting to the CAS page. In my CAS.pm I'm doing this:

my $login_url = $cas->getServerLoginURL($app_url);
my $q         = CGI->new();
print $q->header('text/html');
print $q->redirect( $login_url );

Instead the application redirect to $login_url, it shows the otrs login
page and above it this:

OK

The document has moved
here<https://sandbox.tjpb.jus.br/cas/login?service=http://php-desenv.tjpb.jus.br/otrs/customer.pl>
.
------------------------------
Apache/2.2.3 (Red Hat) Server at php-desenv.tjpb.jus.br Port 80
How can I solve this? I've attached the full CAS.pm file.
Thank you.

-- 
*Paulo Cesar Abrantes*
*Analista de Sistemas*

Attachment: CAS.pm
Description: Binary data

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

Reply via email to