From f29cb4c61b7add301bfd42983825060730eda94b Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 21 Jun 2017 20:58:24 +0000 Subject: [PATCH] Fix other endpoints Signed-off-by: Patrick Uiterwijk --- roles/fedocal/templates/fedocal.cfg | 2 +- roles/kerneltest/templates/kerneltest.cfg | 2 +- roles/tagger/templates/fedoratagger.cfg.j2 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/fedocal/templates/fedocal.cfg b/roles/fedocal/templates/fedocal.cfg index 81f094b70a..56adda5cd0 100644 --- a/roles/fedocal/templates/fedocal.cfg +++ b/roles/fedocal/templates/fedocal.cfg @@ -43,7 +43,7 @@ APPLICATION_ROOT = '/calendar/' {% if env == 'staging' %} APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT -FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/' +FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/' SITE_ROOT = 'https://apps.stg.fedoraproject.org' SITE_URL = '%s/calendar' % SITE_ROOT {% else %} diff --git a/roles/kerneltest/templates/kerneltest.cfg b/roles/kerneltest/templates/kerneltest.cfg index 197be2492b..d5d5c79b28 100644 --- a/roles/kerneltest/templates/kerneltest.cfg +++ b/roles/kerneltest/templates/kerneltest.cfg @@ -36,7 +36,7 @@ PREFERRED_URL_SCHEME='https' SESSION_COOKIE_SECURE = True {% if env == 'staging' %} -FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/' +FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/' {% endif %} # URL to where are located the fedmenu js files diff --git a/roles/tagger/templates/fedoratagger.cfg.j2 b/roles/tagger/templates/fedoratagger.cfg.j2 index 8f8c481421..24414f17f2 100644 --- a/roles/tagger/templates/fedoratagger.cfg.j2 +++ b/roles/tagger/templates/fedoratagger.cfg.j2 @@ -4,9 +4,9 @@ SECRET_KEY = 'wat {{taggerCookieSecret}}' ### url to the database server: DB_URL = 'postgresql://fedoratagger:{{taggerDBPassword}}@tagger_db/fedoratagger' {% if env == "staging" %} -FAS_OPENID_ENDPOINT = 'http://id.stg.fedoraproject.org' +FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/' {% else %} -FAS_OPENID_ENDPOINT = 'http://id.fedoraproject.org' +FAS_OPENID_ENDPOINT = 'https://id.fedoraproject.org/openid/' {% endif %} # This is required for openid to work in stg. Might as well for prod too.