From f8b435c91201a2d7a2ff18016c848928362013ef Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 16 Feb 2014 21:24:59 +0000 Subject: [PATCH] Stg uses the stg key --- roles/fedoauth/templates/fedoauth.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/fedoauth/templates/fedoauth.cfg b/roles/fedoauth/templates/fedoauth.cfg index 086a091c09..94231a65f8 100644 --- a/roles/fedoauth/templates/fedoauth.cfg +++ b/roles/fedoauth/templates/fedoauth.cfg @@ -15,12 +15,14 @@ COOKIE_DOMAIN = 'id.stg.fedoraproject.org' OPENID_IDENTITY_URL = 'http://%(username)s.id.stg.fedoraproject.org/' PERSONA_DOMAIN = 'stg.fedoraproject.org' PERSONA_ISSUER = 'id.stg.fedoraproject.org' +PERSONA_PRIVATE_KEY_PATH = '/etc/fedoauth/persona.stg.key' {% else %} WEBSITE_ROOT = 'https://id.fedoraproject.org' COOKIE_DOMAIN = 'id.fedoraproject.org' OPENID_IDENTITY_URL = 'http://%(username)s.id.fedoraproject.org/' PERSONA_DOMAIN = 'fedoraproject.org' PERSONA_ISSUER = 'id.fedoraproject.org' +PERSONA_PRIVATE_KEY_PATH = '/etc/fedoauth/persona.key' {% endif %} COOKIE_SECURE = True @@ -40,7 +42,6 @@ FAS_AVAILABLE_TO = [] # PERSONA CONFIGURATION # This is the domain for which we are willing to sign -PERSONA_PRIVATE_KEY_PATH = '/etc/fedoauth/persona.key' PERSONA_PRIVATE_KEY_PASSPHRASE = '{{ fedoauth_persona_key_passphrase }}' # OPENID CONFIGURATION