]> git.koha-community.org Git - koha.git/commit
Bug 12398: Fix CAS authentication validation
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 10 Jun 2014 10:47:37 +0000 (12:47 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 1 Aug 2014 13:13:49 +0000 (10:13 -0300)
commit8c5671087da1ce3daf9ecf55589761f185e34453
treea3fc10d08c889e23270d11c133a9a4033a4960d5
parentcf49a75209b1dc5213fb1efbacd953cac72cfbb7
Bug 12398: Fix CAS authentication validation

CGI::url_param() also returns deleted parameters so we have to check
with CGI::param() too.

Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Took a while to get it working, but I can confirm CAS login is not
working without this patch, but does with it.

Some notes:
In order for this to work you have to add http:// in front of your
OpacBaseURL.
You will also need a CAS test server and install the certificate
on your system.

Tested with CAS test server provided by Biblibre.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth_with_cas.pm