From 721fdf3f2567de523756f6c625cb397a9b450ecf Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Feb 19 2022 02:48:37 +0000 Subject: Ensure openid return traffic is encrypted this is used in /usr/lib/python3.6/site-packages/pagure/ui/flask_fas_openid.py to replace the scheme in URL. The flask default is 'http' --- diff --git a/salt/profile/pagure/files/pagure.cfg b/salt/profile/pagure/files/pagure.cfg index 97a1171..a6bb1ec 100644 --- a/salt/profile/pagure/files/pagure.cfg +++ b/salt/profile/pagure/files/pagure.cfg @@ -306,3 +306,6 @@ REPOSPANNER_REGIONS = {} # PAGURE_PLUGINS_CONFIG = "/etc/pagure/plugins.cfg" THEME = 'chameleon' + +# Ensure openid return traffic is encrypted +PREFERRED_URL_SCHEME = 'https'