[Koha-bugs] [Bug 20402] Implement OAuth2 authentication for REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 20 10:32:08 CEST 2018


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

--- Comment #56 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Martin Renvoize from comment #51)
> Comment on attachment 74380 [details] [review]
> Bug 20402: Implement OAuth2 authentication for REST API
> 
> Review of attachment 74380 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: Koha/REST/V1/Auth.pm
> @@ +128,5 @@
> > +            validate_query_parameters( $c, $spec );
> > +
> > +            # Everything is ok
> > +            return 1;
> > +        }
> 
> This 'scope' validation would normally be done within the
> _verify_access_token_cb for the usual case with the ::OAuth2::Server Plugin.

scopes are not implemented, we'll use patron's permissions for now

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


More information about the Koha-bugs mailing list