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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 10 10:54:30 CEST 2013


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

--- Comment #2 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
The latest patch is a fully functional version of GoogleOAuth2, being used in
production here at http://library.pbc.wa.edu.au/

Test Plan:
1) Apply this patch
2) Update the database (this is the bit I'm not sure about - I've added the SQL
into the atomicupdates directory - is this right?)
3) Create a web app in the google cloud console:
     - Go to https://cloud.google.com/console
     - Create a project, and give it some details
     - Open the Project by clicking on it
     - Under APIs & auth menu, open "Registered Apps" and click "Register App"
     - Give it a name and make sure you select "Web app", click ok
     - Under OAuth 2.0 Client ID,
         - under web origin, type <your_opac_address>
         - in the redirect uri enter
<your_opac_address>/cgi-bin/koha/svc/googleoauth2
         - click Generate
4) Set the GoogleOAuth2ClientID and GoogleOAuth2ClientSecret according to the
values generated above
5) Test that clicking login intiates an oauth2 login
6) Try logging in with an email that is not registered to a library user. It
should fail and offer either to retry or to login manually.
7) Try logging in with an email that is registered to a library user. You
should be logged in.

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


More information about the Koha-bugs mailing list