From 75ac478a80721bfa010bd9b5ba189fb26b52e51a Mon Sep 17 00:00:00 2001 From: eyjhb Date: Mon, 12 Aug 2024 14:36:14 +0200 Subject: [PATCH] gerd.forgejo: readd one_factor authentication --- machines/gerd/services/forgejo/auth_sources.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/gerd/services/forgejo/auth_sources.nix b/machines/gerd/services/forgejo/auth_sources.nix index 9bcdb94..231837b 100644 --- a/machines/gerd/services/forgejo/auth_sources.nix +++ b/machines/gerd/services/forgejo/auth_sources.nix @@ -106,7 +106,7 @@ in { secret = "$pbkdf2-sha512$310000$cOGtLwMHyfugAJCIiUUjfQ$ao7zC8QB1m8aTGNf1dxYbRAPivZ0G1eaJ4bNFVfJiTFZX06U5baBjT0emvoaeFHXMFbYHzorb2/8vxnY/D0b5Q"; public = false; - # authorization_policy = "one_factor"; + authorization_policy = "one_factor"; redirect_uris = [ "https://${config.mine.settings.forgejo.domain}/user/oauth2/${AUTHELIA_AUTH_NAME}/callback" ]; scopes = [ "openid"