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";