Update Elections for FASJSON in staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-09-16 10:11:24 +02:00
parent c45ed35ce1
commit 6733be5986
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -27,16 +27,16 @@ OIDC_CLIENT_SECRETS = '/opt/app-root/secret/client_secrets.json'
## integration.
## URL of the FAS server to use
{% if env == 'staging' %}
FAS_BASE_URL = 'https://admin.stg.fedoraproject.org/accounts/'
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
FASJSON = True
FAS_BASE_URL = 'https://fasjson.stg.fedoraproject.org/'
{% else %}
FAS_BASE_URL = 'https://admin.fedoraproject.org/accounts/'
{% endif %}
FAS_USERNAME = '{{ fedorathirdpartyUser }}'
FAS_PASSWORD = '{{ fedorathirdpartyPassword }}'
## This should be ``True`` but should be changed to ``False`` if the FAS server
## used does not have a valid SSL certificate.
FAS_CHECK_CERT = True
{% endif %}
# This is required to fix login
PREFERRED_URL_SCHEME='https'