From d7358ccdca5c1d8a508d9fbf297412c8f3ce2158 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Sun, 13 Aug 2023 20:53:19 +0200 Subject: [PATCH] hedgedoc: Disable SSO and login for now --- services/hedgedoc.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/hedgedoc.nix b/services/hedgedoc.nix index c9dab9f..945d24d 100644 --- a/services/hedgedoc.nix +++ b/services/hedgedoc.nix @@ -33,7 +33,9 @@ in { email = false; path = sock_path; protocolUseSSL = true; - oauth2 = { + # NOTE(@e1mo): Currently disabled until we decide if we want + # SSO but left in here as this is a known working config. + oauth2 = lib.mkIf false { baseURL = sso_url; userProfileURL = "${sso_url}/userinfo"; userProfileUsernameAttr = "preferred_username";