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:
parent
ac50ffe3d2
commit
c2187f319a
1 changed files with 12 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue