[Koha-bugs] [Bug 20612] Make OAuth2 use patron's client_id/secret pairs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 19 15:09:04 CEST 2018


Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
  Attachment #74533|0                           |1
        is obsolete|                            |

--- Comment #18 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 74551
Bug 20612: Make OAuth2 use patron's client_id/secret pairs

This patch wires the OAuth related code so it leverages on the new
Koha::ApiKey(s) classes and tools introduced by bug 20568 instead of the
hardcoded entries in koha-conf.xml originally proposed by bug 20402.

To test revisit the test plan for bug 20402, and verify that it works.
But create API key pairs instead of writing them down in koha-conf.xml.
- Run:
  $ prove t/db_dependent/api/v1/oauth.t
=> SUCCESS: Tests pass!
- Sign off :-D

Sponsored-by: ByWater Solutions

Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at deichman.no>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

You are receiving this mail because:
You are watching all bug changes.

More information about the Koha-bugs mailing list