From 311f9c009abe2c5e23f93dec138cfff2bffc18d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 11 Dec 2024 11:33:38 +0100 Subject: [PATCH] Use OIDC in Dist-Git MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/distgit/pagure/templates/pagure.cfg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 499a0c45b8..0c0d441a1b 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -109,7 +109,6 @@ SHORT_LENGTH = 7 # Specify which authentication method to use, defaults to `fas` can be or # `local` # Default: ``fas``. -{% if env == "staging" %} PAGURE_AUTH = 'oidc' OIDC_CLIENT_SECRETS = "/etc/pagure/client_secrets.json" OIDC_ID_TOKEN_COOKIE_SECURE = True @@ -124,9 +123,6 @@ OIDC_PAGURE_USERNAME = 'preferred_username' OIDC_PAGURE_SSH_KEY = 'ssh_key' OIDC_PAGURE_GROUPS = 'groups' OIDC_PAGURE_USERNAME_FALLBACK = 'nickname' -{% else %} -PAGURE_AUTH = 'fas' -{% endif %} # When this is set to True, the session cookie will only be returned to the # server via ssl (https). If you connect to the server via plain http, the