From 42d63b428a378a3f6db6b0ef126c4688d5f8ee4f Mon Sep 17 00:00:00 2001 From: hackens server Date: Fri, 24 Feb 2023 14:40:14 +0100 Subject: [PATCH] working wiki --- hosts/org/dokuwiki.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/org/dokuwiki.nix b/hosts/org/dokuwiki.nix index b142230..75ac971 100644 --- a/hosts/org/dokuwiki.nix +++ b/hosts/org/dokuwiki.nix @@ -29,12 +29,14 @@ superuser = "@admin"; start = "accueil"; htmlmail = 0; + authtype = "oauth"; tpl.bootstrap3 = { showAddNewPage = "logged"; fluidContainer = 0; }; plugin = { tokenbucketauth.tba_send_mail = "hackens@clipper.ens.fr"; + oauth.register-on-auth = true; oauthkeycloak = { key = "wiki"; secret._file = config.age.secrets.wikiOpenID.path; @@ -48,6 +50,7 @@ authad = false; authldap = false; + authpdo = false; authmysql = false; authpgsql = false; oauthkeycloak = true; @@ -95,7 +98,7 @@ ''; }) (pkgs.stdenv.mkDerivation { - name = "oauth"; + name = "oauthkeycloak"; src = pkgs.fetchFromGitHub { owner = "YoitoFes"; repo = "dokuwiki-plugin-oauthkeycloak";