From 3df0e0eff6b5ea6a15ed1a6f18fb16fe40ad0061 Mon Sep 17 00:00:00 2001 From: ymdatta Date: Jul 10 2018 15:13:55 +0000 Subject: Added information about authentication providers in default_config.py Came across this at https://github.com/pypingou/pagure/pull/21. I added a reference in default_config.py to Documentation which gives information about various authentication providers. Signed-off by: Mohana Datta Yelugoti Merges https://pagure.io/pagure/pull-request/3404 Signed-off-by: Pierre-Yves Chibon --- diff --git a/doc/configuration.rst b/doc/configuration.rst index 76e444d..61dbb23 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -785,11 +785,11 @@ This configuration key specifies which authentication method to use. Valid options are ``fas``, ``openid``, ``oidc``, or ``local``. * ``fas`` uses the Fedora Account System `FAS ` - to provide user authentication. + to provide user authentication and enforces that users sign the FPCA. * ``openid`` uses OpenID authentication. Any provider may be used by - setting the FAS_OPENID_ENDPOINT option. By default FAS (without FPCA) - will be used. + changing the FAS_OPENID_ENDPOINT configuration key. By default + FAS (without FPCA) will be used. * ``oidc`` enables OpenID Connect using any provider. This provider requires the configuration options starting with ``OIDC_`` (see below) to be provided. diff --git a/pagure/default_config.py b/pagure/default_config.py index 8795758..5316b0d 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -210,6 +210,10 @@ DOMAIN_EMAIL_NOTIFICATIONS = 'localhost.localdomain' SALT_EMAIL = '' # Specify which authentication method to use. +# Refer to +# https://docs.pagure.org/pagure/configuration.html?highlight=authentication#pagure-auth +# for information regarding authentication providers. + # Available options: `fas`, `openid`, `oidc`, `local` # Default: ``local``. PAGURE_AUTH = 'local'