diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 73b4d6fc9c..499a0c45b8 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -119,7 +119,7 @@ OIDC_SCOPES = [ 'https://id.fedoraproject.org/scope/agreements', ] OIDC_PAGURE_EMAIL = 'email' -OIDC_PAGURE_FULLNAME = 'fullname' +OIDC_PAGURE_FULLNAME = 'name' OIDC_PAGURE_USERNAME = 'preferred_username' OIDC_PAGURE_SSH_KEY = 'ssh_key' OIDC_PAGURE_GROUPS = 'groups' diff --git a/roles/distgit/templates/auth_openidc.conf b/roles/distgit/templates/auth_openidc.conf index ffd564e9ab..623b1f2b66 100644 --- a/roles/distgit/templates/auth_openidc.conf +++ b/roles/distgit/templates/auth_openidc.conf @@ -1,9 +1,9 @@ OIDCOAuthIntrospectionEndpoint https://id{{env_suffix}}.fedoraproject.org/openidc/TokenInfo OIDCOAuthClientID src-verifier {% if env == "staging" %} -OIDCOAuthClientSecret {{ distgit_oidc_client_secret_stg }} +OIDCOAuthClientSecret {{ distgit_oidc_src_verifier_secret_stg }} {% else %} -OIDCOAuthClientSecret {{ distgit_oidc_client_secret_prod }} +OIDCOAuthClientSecret {{ distgit_oidc_src_verifier_secret_prod }} {% endif %} OIDCOAuthIntrospectionEndpointAuth client_secret_basic OIDCOAuthIntrospectionEndpointMethod POST