[Koha-bugs] [Bug 25797] New: REST API using OAuth doesn't actually authorize

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 09:20:29 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25797

            Bug ID: 25797
           Summary: REST API using OAuth doesn't actually authorize
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: vanoudt at gmail.com

Created attachment 105997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105997&action=edit
Authorise on the x-koha-authorization header, not the authorization header

Just spent a whole bunch of time on this - and think I have a solution. The
rest api, is looking for the authorization header - but for some reason, koha
is rewriting this header to be "x-koha-authorization".

The attached patch fixes things for me here, finally allowing me to make API
calls!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list