forked from coop-cloud/mediawiki
Update LocalSettings.php.tmpl to match new configuration syntax.
This syntax follows that at https://www.mediawiki.org/wiki/Extension:OpenID_Connect.
This commit is contained in:
parent
d7d228ab7e
commit
8c503d5d28
|
@ -191,9 +191,13 @@ $wgDebugToolbar = true;
|
|||
wfLoadExtension( 'PluggableAuth' );
|
||||
wfLoadExtension( 'OpenIDConnect' );
|
||||
|
||||
$wgOpenIDConnect_Config['{{ env "OPENID_KEYCLOAK_URL" }}'] = [
|
||||
$wgPluggableAuth_Config[] = [
|
||||
'plugin' => 'OpenIDConnect',
|
||||
'data' => [
|
||||
'providerURL' => '{{ env "OPENID_KEYCLOAK_URL" }}',
|
||||
'clientID' => '{{ env "OPENID_CLIENT_ID"}}',
|
||||
'clientsecret' => '{{ secret "openid_client_secret" }}'
|
||||
]
|
||||
];
|
||||
|
||||
$wgGroupPermissions['*']['autocreateaccount'] = true;
|
||||
|
|
Loading…
Reference in New Issue