Allow password_required to be configurable per library

Bug #1434728 reported by Jeff Davis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen Overdrive API Integration
Fix Committed
Medium
Jeff Davis

Bug Description

OverDrive subscriber libraries can choose whether or not they require patrons to use a password during authentication. When authenticating patrons via the OverDrive Circulation API, you need to include 'password_required=false' as a parameter if no password is required (see http://developer.overdrive.com/apis/patron-auth for more details).

Currently, the overdrive-eg-opac code assumes that all libraries have the same password setting, i.e. that password_required is either true or false for all participating libraries. However, it's possible for different libraries to have different password settings, even if they are sharing the same OverDrive subscription. So overdrive-eg-opac needs to be able to lookup the correct password_required value based on the patron's home library.

I'll push a fix for this issue shortly.

Changed in overdrive-eg-opac:
importance: Undecided → Medium
assignee: nobody → Jeff Davis (jdavis-sitka)
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

Fix pushed to master:

http://git.evergreen-ils.org/?p=contrib/overdrive-eg-opac.git;a=commitdiff;h=27e91a3

Note the change to od_config_template.coffee, and update your local od_config.coffee accordingly.

Changed in overdrive-eg-opac:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.