From c5b60c3263f08a00c9fb72f13001cfdb99e15071 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 27 May 2022 11:32:40 -0700 Subject: fix(gerrit): set the OAUTH client ID Change-Id: I2a5b554be29af9184ad504bcb8beca30c605e6c4 Reviewed-on: https://cl.fcuny.net/c/world/+/63 Reviewed-by: Franck Cuny --- modules/services/gerrit/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix index 154dca4..094e1b1 100644 --- a/modules/services/gerrit/default.nix +++ b/modules/services/gerrit/default.nix @@ -62,6 +62,11 @@ in { # users can change their emails oauth.allowRegisterNewEmail = true; + plugin.gerrit-oauth-provider-google-oauth = { + client-id = + "966881439540-5k20bis59lqs2bsi3rukfbveu8r0ta8q.apps.googleusercontent.com"; + }; + # use gerrit HTTP password auth.gitBasicAuthPolicy = "HTTP"; -- cgit 1.4.1