[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
Fri May 4 08:09:17 CEST 2018


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

--- Comment #13 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Treating this as a false positive as it's not added by the patch set:

 FAIL   Koha/REST/V1/Auth.pm
   OK     critic
   OK     forbidden patterns
   OK     git manipulation
   OK     pod
   FAIL   pod coverage
                POD is missing for 'validate_query_parameters'

The link is gone, but the page remains accessible directly:
http://localhost:8081/cgi-bin/koha/members/apikeys.pl?patron_id=1

Tests fail for me:

t/db_dependent/api/v1/oauth.t .. 1/2 
#   Failed test '/oauth/token tests'
#   at t/db_dependent/api/v1/oauth.t line 116.
Can't call method "expires" on an undefined value at
t/db_dependent/api/v1/oauth.t line 93.
# Looks like your test exited with 255 just after 1.
t/db_dependent/api/v1/oauth.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 2/2 subtests 

Test Summary Report
-------------------
t/db_dependent/api/v1/oauth.t (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 1.

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


More information about the Koha-bugs mailing list