Files
fedora-infra_ansible/roles/openshift-apps/flask-oidc-dev/templates/config.py
David Kirwan 653e0d858f flask-oidc: Copying/reusing test-auth deployment config files
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Aurelien Bompard <abompard@redhat.com>
2022-05-05 10:24:48 +01:00

19 lines
514 B
Python

#
# This is the config file for Test Auth as intended to be used in OpenShift
#
# Deployed to a subpath
# APPLICATION_ROOT = '/test-auth/'
# Cookies
SECRET_KEY = "{{ flask_oidc_dev_session_secret }}"
SESSION_COOKIE_NAME = 'flask-oidc-dev'
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SECURE = True
# Auth
OIDC_CLIENT_SECRETS = "/etc/flask-oidc-dev/oidc.json"
OPENID_ENDPOINT = "https://id{{ env_suffix }}.fedoraproject.org/openid/"
FAS_OPENID_ENDPOINT = "https://id{{ env_suffix }}.fedoraproject.org/openid/"