wiki: update staging OIDC scopes for agreements

Updates the wiki OIDC scopes settings to point to the new agreements
scope rather than the CLA one from the FAS days

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2020-09-17 21:19:59 +10:00 committed by pingou
parent ac50ffe3d2
commit c2187f319a

View file

@ -528,9 +528,15 @@ $wgOpenIDConnect_Config['https://id{{ env_suffix }}.fedoraproject.org/openidc/']
'clientsecret' => '{{ fpwiki_prod_client_secret }}',
{% endif %}
'name' => "Fedora Authentication",
{% if env == "staging" %}
'scope' => [ 'openid', 'profile', 'email',
'https://id.fedoraproject.org/scope/groups',
'https://id.fedoraproject.org/scope/cla' ]
{% else %}
'scope' => [ 'openid', 'profile', 'email',
'https://id.fedoraproject.org/scope/groups',
'https://id.fedoraproject.org/scope/agreements' ]
{% endif %}
];
$wgOpenIDConnect_UseRealNameAsUserName = false;
$wgOpenIDConnect_UseEmailNameAsUserName = false;