working wiki

This commit is contained in:
hackens server 2023-02-24 14:40:14 +01:00
parent ccafd8797a
commit 42d63b428a

View file

@ -29,12 +29,14 @@
superuser = "@admin"; superuser = "@admin";
start = "accueil"; start = "accueil";
htmlmail = 0; htmlmail = 0;
authtype = "oauth";
tpl.bootstrap3 = { tpl.bootstrap3 = {
showAddNewPage = "logged"; showAddNewPage = "logged";
fluidContainer = 0; fluidContainer = 0;
}; };
plugin = { plugin = {
tokenbucketauth.tba_send_mail = "hackens@clipper.ens.fr"; tokenbucketauth.tba_send_mail = "hackens@clipper.ens.fr";
oauth.register-on-auth = true;
oauthkeycloak = { oauthkeycloak = {
key = "wiki"; key = "wiki";
secret._file = config.age.secrets.wikiOpenID.path; secret._file = config.age.secrets.wikiOpenID.path;
@ -48,6 +50,7 @@
authad = false; authad = false;
authldap = false; authldap = false;
authpdo = false;
authmysql = false; authmysql = false;
authpgsql = false; authpgsql = false;
oauthkeycloak = true; oauthkeycloak = true;
@ -95,7 +98,7 @@
''; '';
}) })
(pkgs.stdenv.mkDerivation { (pkgs.stdenv.mkDerivation {
name = "oauth"; name = "oauthkeycloak";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "YoitoFes"; owner = "YoitoFes";
repo = "dokuwiki-plugin-oauthkeycloak"; repo = "dokuwiki-plugin-oauthkeycloak";