diff --git a/roles/openshift-apps/waiverdb/templates/settings.py b/roles/openshift-apps/waiverdb/templates/settings.py index 25d886bd4c..e248dc7b27 100644 --- a/roles/openshift-apps/waiverdb/templates/settings.py +++ b/roles/openshift-apps/waiverdb/templates/settings.py @@ -2,10 +2,12 @@ DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.stg.iad2.fedoraproject.org:5432/waiverdb' RESULTSDB_API_URL = 'https://resultsdb.stg.fedoraproject.org/api/v2.0' CORS_URL = 'https://bodhi.stg.fedoraproject.org' +OVERWRITE_REDIRECT_URI = 'https://waiverdb.stg.fedoraproject.org/oidc_callback' {% else %} DATABASE_URI = 'postgresql+psycopg2://waiverdb@db01.iad2.fedoraproject.org:5432/waiverdb' RESULTSDB_API_URL = 'https://resultsdb.fedoraproject.org/api/v2.0' CORS_URL = 'https://bodhi.fedoraproject.org' +OVERWRITE_REDIRECT_URI = 'https://waiverdb.fedoraproject.org/oidc_callback' {% endif %} MESSAGE_BUS_PUBLISH = True AUTH_METHOD = 'OIDC'