[Koha-bugs] [Bug 10988] Allow login via Google OAuth2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 4 02:12:34 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10988

--- Comment #25 from David Cook <dcook at prosentient.com.au> ---
Hmm, it might be a better idea to add a parameter instead of using the $persona
parameter in C4::Auth::checkauth().

C4::Auth needs a clean-up in general... which Martin (ashimema) is working on,
I believe.

In any case, locally I added a $external_authen hashref as a parameter after
$persona. I use $external_authen->{OpenIDConnect} to store the data I need to
pass to checkauth(), add some handling in the appropriate spots, and that's it.

You might want to look at RFC 6749 (OAuth 2.0)
http://tools.ietf.org/html/rfc6749 as well, as it might give you some more
information.

OpenID Connect has a lot of validation steps, which may or may not also exist
in OAuth2.0... not sure.

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


More information about the Koha-bugs mailing list