From 389d739d9886fe49c9be0f086335712358ee7e2b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 13 Sep 2021 13:37:55 +0000 Subject: [PATCH] Bug 29004: Update GoogleOpenIDConnect preference to make it clear that it is OPAC-only This patch modifies the description of the GoogleOpenIDConnect and related preferences to make it clear that GoogleOpenIDConnect affects OPAC logins and that the preferences are related. To test, apply the patch and go to Administration -> System preferences. Search for "google," and confirm that the descriptions of GoogleOpenIDConnect and related preferences look clear and correct. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/preferences/admin.pref | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref index a858b1d0da..3263d6d031 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -165,37 +165,39 @@ Administration: emailAddress: emailAddress Google OpenID Connect: - - - "Use Google OpenID Connect login: " + - "Use Google OpenID Connect login in the OPAC: " - pref: GoogleOpenIDConnect choices: 1: "Yes" 0: "No" - - You will need to select OAuth2 when creating an app in the Google cloud console, and set the web origin to your_opac_url and the redirect url to your_opac_url/cgi-bin/koha/svc/auth/googleopenidconnect . + - You will need to select OAuth2 when creating an app in the Google cloud console, and set the web origin to your_opac_url and the redirect url to your_opac_url/cgi-bin/koha/svc/auth/googleopenidconnect. Requires GoogleOAuth2ClientID and GoogleOAuth2ClientSecret to be set. - - "Google OAuth2 Client ID: " - pref: GoogleOAuth2ClientID + - Along with GoogleOAuth2ClientSecret, enables GoogleOpenIDConnect. - - "Google OAuth2 Client Secret: " - pref: GoogleOAuth2ClientSecret + - Along with GoogleOAuth2ClientID, enables GoogleOpenIDConnect. - - "Restrict Google OpenID Connect to this domain (or subdomain of this domain): " - pref: GoogleOpenIDConnectDomain - - . Leave blank for all Google domains. + - Leave blank for all Google domains. Requires GoogleOpenIDConnect. - - pref: GoogleOpenIDConnectAutoRegister choices: 1: Allow 0: "Don't allow" - - patrons logging in with Google Open ID to automatically register. + - patrons logging in with Google Open ID to automatically register. Requires GoogleOpenIDConnect. - - "Use this category code when automatically registering a Google Open ID patron: " - pref: GoogleOpenIDConnectDefaultCategory choices: patron-categories - - "." + - Requires GoogleOpenIDConnect. - - "Use this branch code when automatically registering a Google Open ID patron: " - pref: GoogleOpenIDConnectDefaultBranch - - "." + - Requires GoogleOpenIDConnect. Share anonymous usage statistics: - - "Share anonymous Koha usage data with the Koha community: " -- 2.11.0