Skip to content

Commit fb665f7

Browse files
authored
DACCESS-459: Fix bug breaking ReShare lookups (#117)
* Update call to cul-folio-edge authenticate method to specify old auth method (DACCESS-459) * Update release notes * Require new version of cul-folio-edge
1 parent c03cd67 commit fb665f7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

app/controllers/my_account/account_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def get_bd_requests
315315

316316
begin
317317
token = nil
318-
response = CUL::FOLIO::Edge.authenticate(ENV['RESHARE_STATUS_URL'], ENV['RESHARE_TENANT'], ENV['RESHARE_USER'], ENV['RESHARE_PW'])
318+
response = CUL::FOLIO::Edge.authenticate(ENV['RESHARE_STATUS_URL'], ENV['RESHARE_TENANT'], ENV['RESHARE_USER'], ENV['RESHARE_PW'], method: :old)
319319
if response[:code] >= 300
320320
Rails.logger.error "MyAccount error: Could not create a ReShare token for #{ENV['RESHARE_USER']}"
321321
else

my_account.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121
s.add_dependency 'blacklight',['>= 7.0']
2222
s.add_dependency 'xml-simple'
2323
s.add_dependency 'rest-client'
24-
s.add_dependency 'cul-folio-edge', '~> 3.1'
24+
s.add_dependency 'cul-folio-edge', '~> 3.2'
2525

2626
s.add_development_dependency "sqlite3"
2727
end

release_notes.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes - my-account
22

3+
## IN PROGRESS
4+
### Fixed
5+
- Specify old authentication method to fix broken ReShare account lookup (DACCESS-459)
6+
37
## [2.3.3] - 2024-09-17
48
- Update links to fine information
59

0 commit comments

Comments
 (0)