Bug 32943 - Open Athens Plugin Issue
Summary: Open Athens Plugin Issue
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: 22.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 16:06 UTC by Vivek
Modified: 2023-12-28 20:42 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vivek 2023-02-10 16:06:53 UTC
Hello,

I uploaded Open Athens Plugin and run configure and added required information (Connection ID, Conenction URL and API Key from Open Athens admin portal, and then used run tool options and added borrowerid and cardnumber attributes in Koha(version: 21.11.17.000). I picked athenised URL for ebrary.
https://athens-sp.ebrary.com/private/signin.do?entityID=https%3A%2F%2Fidp.eduserv.org.uk%2Fopenathens
this goes to the redirector URL:https://cuils.cuchd.in/plugin/Koha/Plugin/OAKoha/OAKoha.pl for authentication and leads to 404 page. I looked the Koha opac-error log and it is not showing any entry.

I also added an entry in /etc/apache2/sites-enabled/ instance configuration file for my instance (cuils);

   Alias /plugin/ "/var/lib/koha/cuils/plugins/"
   <Directory /var/lib/koha/cuils/plugins/>
         Options Indexes FollowSymLinks
         AllowOverride None
         Require all granted
         Options +ExecCGI
         AddHandler cgi-script .pl
    </Directory>

I can see plugin configuration created a directory and all required files exists and I have given them 755 permission.

Plugin also created OpacUserJs entry as below;
//Test
/*oa{*/var oas=document.createElement( "script" );oas.type = "text/javascript";oas.src="/plugin/Koha/Plugin/OAKoha/OAKoha.js";document.body.appendChild(oas);/*}oa*/

Please assist in resolving this configuration issue. It looks like I am missing any steps. 

My Koha Redirector URL: https://cuils.cuchd.in/plugin/Koha/Plugin/OAKoha/OAKoha.pl

Thanks
Vivek
Comment 1 Katrin Fischer 2023-02-10 20:54:24 UTC
Hi, you'll need to get in touch with the developers of the Open Athens plugin. If they host the plugin on gitlab or github, you might be able to report an issue in the issue tracker for the plugin project there.

Maybe this is the one?
https://github.com/ebsco/openathens-koha-plugin/issues