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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 10 05:44:42 CEST 2014


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

Nicholas van Oudtshoorn <vanoudt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25570|0                           |1
        is obsolete|                            |

--- Comment #15 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
Created attachment 29595
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29595&action=edit
For updating an INSTALLED 3.14.03 to use GoogleOAuth2

(In reply to Samuel Martin from comment #12)
I assume you're talking about the patch to jerry-rig OAuth2 into an already
installed system?
> In the file: usr/share/koha/opac/cgi-bin/opac/svc/googleoauth2
> there appeared to be some lines missing in the patch at the very beginning
> of the file. Though the code is available here in this bug. So that was easy
> to fix.
Thanks for that. I've updated the INSTALLED patch with the missing lines!
> 
> And then we still had some issues. At that time I still had an error 400
> straight from google this time. We had to set up the opac URL in:
> /etc/apache2/conf.d/
Hmmm - that's strange. What exactly did you change?

> Also: in the opac-main there is no hint where to log in with the google
> account. It would be a nice feature that once you use Google Oauth it would
> say which log in link to use to do that. Maybe even with a google logo?
Agreed. The main patch has been changed so that the top-left login link works
for oauth2 if that is set up. Here at PBC we've changed our templates to show a
button for OAuth2 login, and another for manual logins. I can provide the
patch, if it would be useful...

> Other than that the patch is working perfectly though I didn't test it
> extensively. It's only running on my test server.
Glad to hear it!

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


More information about the Koha-bugs mailing list