From 297d92b7b0176701997262a5c3c11085b23cb027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 13 Nov 2024 09:24:28 +0100 Subject: [PATCH] Switch Pagure to OIDC in prod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/pagure/templates/pagure.cfg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/pagure/templates/pagure.cfg b/roles/pagure/templates/pagure.cfg index 52a735b885..3c5ed7f6b4 100644 --- a/roles/pagure/templates/pagure.cfg +++ b/roles/pagure/templates/pagure.cfg @@ -195,7 +195,6 @@ DISABLED_PLUGINS = ['IRC'] ### Switch the authentication method # Specify which authentication method to use: `openid`, `oidc`, `local` # Default: ``fas``. -{% if env == 'pagure-staging' %} PAGURE_AUTH = 'oidc' OIDC_CLIENT_SECRETS = "/etc/pagure/client_secrets.json" OIDC_ID_TOKEN_COOKIE_SECURE = True @@ -210,9 +209,6 @@ OIDC_PAGURE_USERNAME = 'preferred_username' OIDC_PAGURE_SSH_KEY = 'ssh_key' OIDC_PAGURE_GROUPS = 'groups' OIDC_PAGURE_USERNAME_FALLBACK = 'nickname' -{% else %} -PAGURE_AUTH = 'openid' -{% 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