]> git.koha-community.org Git - koha.git/commit
Bug 16892: Add automatic patron registration via OAuth2 login
authorMark Tompsett <mtompset@hotmail.com>
Mon, 11 Jul 2016 04:42:40 +0000 (00:42 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 13:51:25 +0000 (10:51 -0300)
commitae45243fae9e1ca584d72abaf050b1fc94742722
treec8ad8f09669ad4170198ae59bcd19a015930dc61
parenta4237785d9a2bf2bbf4cf988bc98ac4935842e91
Bug 16892: Add automatic patron registration via OAuth2 login

10988 added the ability to log into the OPAC authenticating with
Google Open ID Connect. This extends it, by allowing an
unregistered patron to have an account automatically created
with default category code and branch.

This is accomplished by adding 3 system preferences.
- GoogleOpenIDConnectAutoRegister
      whether it will attempt to auto-register the patron.
- GoogleOpenIDConnectDefaultCategory
      This category code will be used to create Google OpenID Connect patrons.
- GoogleOpenIDConnectDefaultBranch'
      This branch code will be used to create Google OpenID Connect patrons.

Sponsored-by: Tulong Aklatan
Signed-off-by: Eugene Jose Espinoza <eugenegf@yahoo.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_16892_AutomaticPatronSystemPreferences.sql [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
opac/svc/auth/googleopenidconnect