[Koha] Sorry, your Google login failed

tony.h tony.hetrick at keiin.kg
Tue Jul 12 19:44:49 NZST 2016


Greetings,

I'm having trouble getting the Google login to work since
upgrading/rebuilding Koha (we rebuilt the VPS and followed the install
guide: https://wiki.koha-community.org/wiki/Debian).

*The problem:*
1) I can log in through my local account, no problem.
2) I then try to login through my Google account
3) After pressing allow from the accounts.google.com site, a message is
displayed: /Sorry, your Google login failed. .../ The full message is below.

"Log in to your account
Google login
Sorry, your Google login failed. The email address you are trying to use is
not associated with a borrower at this library.
Please note that the Google login will only work if you are using the e-mail
address registered with this library.
If you want to, you can try to log in using a different account Log in with
Google
If you do not have a Google account, but do have a local account, you can
still log in:"

There are no errors in the Apache log files.

*Configuration*
Since we had troubles, I'm following the testing guide to configure the
OAuth login:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10988#c68

I removed the Google OAuth entries:
DELETE FROM systempreferences WHERE variable LIKE 'GoogleO%';

I then ran the upgrade schema tool, as I did when I imported the db:
sudo koha-upgrade-schema keiin_lib

I added values back in admin panel (Home › Administration › System
preferences > Google OpenID Connect

I confirmed the 4 values are displayed in the MySQL DB:
SELECT * FROM systempreferences WHERE variable LIKE 'GoogleO%';

Any thoughts?
Tony




--
View this message in context: http://koha.1045719.n5.nabble.com/Sorry-your-Google-login-failed-tp5895227.html
Sent from the Koha-general mailing list archive at Nabble.com.


More information about the Koha mailing list