Skip to content

OpenAthens Plugin Issue #14

Open
Open

Description

@vkybits

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions