josef.moravec / simplesamlphp-module-authkohailsdi
A SimpleSAMLphp module that allows integration with Koha integratedlibrary system.
1.0.0-beta
2018-12-21 13:36 UTC
Requires
This package is not auto-updated.
Last update: 2024-12-16 09:26:43 UTC
README
Install using git
cd simplesamlphp/modules
git clone authkohailsdi https://gitlab.com/josef.moravec/simplesamlphp-koha-ils-di-authentication-module.git
touch authkohailsdi/enable
Install using composer
composer require josef.moravec/simplesamlphp-module-authkohailsdi
touch vendor/josef.moravec/simplesamlphp-module-authkohailsdi/enable
Configure
Add this to your config/authsources.php file:
$config = [
'kohailsdi' => [
'authkohailsdi:KohaILSDI',
'ilsdi_api_url' => 'https://<your-library-catalog.org>/cgi-bin/koha/ilsdi.pl',
'default_affiliation' => ['member', 'student' ],
'affiliation_mapping' => [
'<PATRONCATEGORY>' => ['member', 'employee' ],
],
'domain' => '<library.org>',
'agencyId' => '<sigla>',
'organizationName' => '<library name>'
],
];