From b182ecdbda8a871e5e4bb06fb1049d7982e8c102 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 26 Sep 2017 16:15:22 +0000 Subject: [PATCH] Set OIDCOAuthIntrospectionEndpoint correctly for odcs stg. --- roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 b/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 index 7684842fdd..7188644cea 100644 --- a/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 +++ b/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 @@ -11,12 +11,13 @@ WSGIScriptAlias /{{ odcs_endpoint }} /usr/share/odcs/odcs.wsgi {% if env == 'staging' %} OIDCOAuthClientID {{ odcs_stg_oidc_client_id }} OIDCOAuthClientSecret {{ odcs_stg_oidc_client_secret }} +OIDCOAuthIntrospectionEndpoint https://id.stg.fedoraproject.org/openidc/TokenInfo {% else %} OIDCOAuthClientID {{ odcs_prod_oidc_client_id }} OIDCOAuthClientSecret {{ odcs_prod_oidc_client_secret }} +OIDCOAuthIntrospectionEndpoint https://id.fedoraproject.org/openidc/TokenInfo {% endif %} -OIDCOAuthIntrospectionEndpoint https://id.fedoraproject.org/openidc/TokenInfo OIDCOAuthIntrospectionEndpointAuth client_secret_post OIDCOAuthIntrospectionEndpointParams token_type_hint=Bearer