diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index 1be0c31fba..2615009d99 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -20,6 +20,11 @@ EMAIL_SEND = True # This is required so that login specifies https PREFERRED_URL_SCHEME='https' +{% if env == 'pagure-staging' %} +# OpenID server to use +FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/' +{% endif %} + ### url to the database server: #DB_URL=mysql://user:pass@host/db_name #DB_URL=postgres://user:pass@host/db_name @@ -50,8 +55,6 @@ DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.io' {% if env == 'pagure-staging' %} APP_URL = 'https://stg.pagure.io/' DOC_APP_URL = 'https://docs.stg.pagure.org' - -FAS_BASE_URL = 'https://admin.stg.fedoraproject.org/accounts/' {% else %} APP_URL = 'https://pagure.io/' DOC_APP_URL = 'https://docs.pagure.org'