Hi Tomas
You wrote:
> Are you sure the CAS server is functional?
Yes, when clicking "Log in using a CAS account" the login dialogue of
the CAS server appears, after logging in it can be proven that the login
there was successful.
But the Koha OPAC seems to think the login failed and it says "Sorry,
the CAS login failed." This seems to happen because Koha script
"Auth.pm" returns 1 for "invalidCasLogin" but I can't find out why.
> Can you try pointing your Koha or a replica to the Apereo XAS demo
> sites?
I found https://apereo.github.io/cas/index.html and I changed
"casServerUrl" to "https://apereo.github.io/cas/" but when I click "Log
in using a CAS account" there is a message "404 File not found" instead
of showing me a the CAS server dialogue.
> For debugging, you should use
>
> warn "$variable";
>
> And look for those warns in the usual logs. Remember to restart plack
> everytime you change the code.
This worked but due to my limited knowledge of Perl and the Koha
authentication process via CAS it didn't help me further...
Can maybe someone confirm that the CAS server login actually works with
Koha 21.11.09? As said we didn't change the CAS configuration since Koha
19.05.02.
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E [email protected] · W www.adminkuhn.ch
El lun, 11 jul 2022 8:41, Michael Kuhn <[email protected]
<mailto:[email protected]>> escribió:
Hi
We are using Debian GNU/Linux 10 with Koha 21.11.09 (after an update
from Debian 9 and Koha 19.05.02).
Since the update the CAS authentication via Koha OPAC is no more
working. The content of system preferences "OPACBaseURL",
"casAuthentication", "casLogout" and "casServerUrl" has not changed;
the
new preference "casServerVersion" ist correctly set to "CAS 2 or
earlier".
It is possible to successfully log into the CAS server but when trying
to access the Koha OPAC via CAS ("Log in using a CAS account") the
response is always "Sorry, the CAS login failed." and the user is not
logged into his Koha account. The logs don't show no error.
I was checking all changes made in bugs 21973 22585 23771 20854 and
28417 but to no avail.
Does anyone have an idea how to debug this problem?
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E [email protected]
<mailto:[email protected]> · W www.adminkuhn.ch <http://www.adminkuhn.ch>
_______________________________________________
Koha mailing list http://koha-community.org <http://koha-community.org>
[email protected] <mailto:[email protected]>
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
<https://lists.katipo.co.nz/mailman/listinfo/koha>
_______________________________________________
Koha mailing list http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha