Bugzilla – Attachment 72888 Details for
Bug 20402
OAuth2 client credentials grant for REST API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20402: Follow-up to correct uninitialized failures
Bug-20402-Follow-up-to-correct-uninitialized-failu.patch (text/plain), 911 bytes, created by
Julian Maurice
on 2018-03-14 15:56:14 UTC
(
hide
)
Description:
Bug 20402: Follow-up to correct uninitialized failures
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-03-14 15:56:14 UTC
Size:
911 bytes
patch
obsolete
>From 5f51eb8d82bef82cb1cd4389a9f51138764d1311 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 14 Mar 2018 14:57:31 +0000 >Subject: [PATCH] Bug 20402: Follow-up to correct uninitialized failures > >Added type => 'access' to the token request line in >Koha/REST/V1/OAuth.pm based on my quick skim of >/usr/share/perl5/Net/OAuth2/AuthorizationServer/Defaults.pm >which was complaining, and seemed to allow valid values of >'auth', 'refresh', and 'access'. >--- > Koha/REST/V1/OAuth.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/REST/V1/OAuth.pm b/Koha/REST/V1/OAuth.pm >index 9fc61ecdac..d9e84386d8 100644 >--- a/Koha/REST/V1/OAuth.pm >+++ b/Koha/REST/V1/OAuth.pm >@@ -30,6 +30,7 @@ sub token { > my $token = $grant->token( > client_id => $client_id, > scopes => $scopes, >+ type => 'access', > ); > > # store access token >-- >2.14.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20402
:
72865
|
72874
|
72886
|
72887
|
72888
|
72892
|
72893
|
72894
|
73086
|
73087
|
74009
|
74018
|
74050
|
74051
|
74069
|
74070
|
74088
|
74365
|
74366
|
74367
|
74368
|
74369
|
74380
|
74381
|
74382
|
74383
|
74384
|
74385
|
74386
|
74600
|
75026
|
75027
|
75028
|
75029
|
75030
|
75031
|
75032
|
75033
|
75189