[Koha-bugs] [Bug 31393] Shibboleth broken since migration from XML::Simple

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 21 15:31:14 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31393

--- Comment #3 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Hi,

Actually, having only "content" or only "is" is valid.

"is" will get the value from the matching Shibboleth attribute.

"content" is a fixed string.

If you use both, Koha will first check if there is an attribute matching "is",
and then use "content":

C4/Auth_with_shibboleth.pm, line 131:
$borrower{$key} = ( $entry->{'is'} && $ENV{"HTTP_" . uc($entry->{'is'}) } ) ||
$entry->{'content'} || '';

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list