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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/