[Koha-bugs] [Bug 20624] Disable the OAuth2 client credentials grant by default
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 3 20:32:56 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20624
--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 75021
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75021&action=edit
Bug 20624: (QA follow-up) Handle missing deps gracefuly
This patch makes the /token endpoint and the authenticate_api_request
method behave correctly in the event of missing deps for OAuth2.
To test:
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/oauth.t
=> FAIL: The behaviour is not implemented
- Apply this patch
- Run:
k$ prove t/db_dependent/api/v1/oauth.t
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list