[Koha] Google Authentication to all gmail account.

Nicholas van Rheede van Oudtshoorn vanoudt at gmail.com
Mon May 2 17:13:39 NZST 2016


Ah! Gotcha. Hmmmm.... Not sure about autocreating users. Not impossible to
do, but not the best idea, I'd suggest. Do you manually create users? If
so, just setting tier email address to a gmail or gmail apps email address
will let them log in...
On Mon, 2 May 2016 at 12:56 pm, Jerwyn Fernandez <
os.jerwynfernandez at gmail.com> wrote:

> Thanks a lot for this brother!
>
> I was able to read this bug 10988
>
> However, I got confused with the test plan which will prohibit those users
> that are not registered to a library user.
>
> 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 login6) 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.
>
>
> Kind regards,
>
>
> On Mon, May 2, 2016 at 12:26 PM, Nicholas van Rheede van Oudtshoorn <
> vanoudt at gmail.com> wrote:
>
>> Sure will be, when bug 10988 lands in the May release!
>> On Mon, 2 May 2016 at 11:25 am, Jerwyn <os.jerwynfernandez at gmail.com>
>> wrote:
>>
>>> Greetings,
>>>
>>> Is is possible for us to log-in using gmail account without adding our
>>> patrons from patrons list?
>>>
>>> Will just limit our patrons from our domain name.
>>>
>>> Thank you and best regards!
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://koha.1045719.n5.nabble.com/Google-Authentication-to-all-gmail-account-tp5886417.html
>>> Sent from the Koha-general mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Koha mailing list  http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>
>
> --
> - Jerwyn Fernandez, RL
>   Koha Support Specialist
>   OS Library Solutions​​
>   (63) 9336734607
>   (02) 7383209
>


More information about the Koha mailing list