Files
fedora-infra_ansible/roles/anitya/frontend/templates/anitya.cfg
Pierre-Yves Chibon 637fe9d082 Disable the google login
Google's openid has been turned off and we currently do not support openid
connect that they only support now
2015-10-14 09:49:32 +02:00

30 lines
880 B
INI

# Beware that the quotes around the values are mandatory
### Secret key for the Flask application
SECRET_KEY='{{ anitya_secret_key }}'
### url to the database server:
#DB_URL=mysql://user:pass@host/db_name
#DB_URL=postgres://user:pass@host/db_name
DB_URL='postgresql://{{ anitya_db_user }}:{{ anitya_db_pass }}@{{ anitya_db_host }}/{{ anitya_db_name }}'
# List of admins based on their openid
ANITYA_WEB_ADMINS = [
'http://ralph.id.fedoraproject.org/',
'http://pingou.id.fedoraproject.org/',
]
# Fedora OpenID endpoint
{% if env == 'staging' %}
ANITYA_WEB_FEDORA_OPENID = 'https://id.stg.fedoraproject.org'
{% else %}
ANITYA_WEB_FEDORA_OPENID = 'https://id.fedoraproject.org'
{% endif %}
ANITYA_WEB_ALLOW_GOOGLE_OPENID = False
# This is required to fix login
PREFERRED_URL_SCHEME='https'
# Make browsers send session cookie only via HTTPS
SESSION_COOKIE_SECURE=True