From 056eeb6657d754a44f8c845626bfb759253a4ba9 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 3 Sep 2023 19:58:29 +0200 Subject: [PATCH] add totp --- hosts/web-01.cloonar.com/modules/authelia/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/web-01.cloonar.com/modules/authelia/default.nix b/hosts/web-01.cloonar.com/modules/authelia/default.nix index e1166df..40945fd 100644 --- a/hosts/web-01.cloonar.com/modules/authelia/default.nix +++ b/hosts/web-01.cloonar.com/modules/authelia/default.nix @@ -82,6 +82,16 @@ user_verification = "preferred"; timeout = "60s"; }; + + totp = { + disable = false; + issuer = "auth.cloonar.com"; + algorithm = "sha1"; + digits = 6; + period = 30; + skew = 1; + secret_size = 32; + }; access_control = { default_policy = "deny";