about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-27 11:32:40 -0700
committerFranck Cuny <franck.cuny@gmail.com>2022-05-27 11:34:21 -0700
commitc5b60c3263f08a00c9fb72f13001cfdb99e15071 (patch)
treedfadabeae3ee3b936cf2412791e9e66fe52f0644 /modules
parentfeat(hosts/tahoe): replace gitea by cgit (diff)
downloadworld-c5b60c3263f08a00c9fb72f13001cfdb99e15071.tar.gz
fix(gerrit): set the OAUTH client ID
Change-Id: I2a5b554be29af9184ad504bcb8beca30c605e6c4
Reviewed-on: https://cl.fcuny.net/c/world/+/63
Reviewed-by: Franck Cuny <franck.cuny@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/services/gerrit/default.nix5
1 files changed, 5 insertions, 0 deletions
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";