mirror of https://gitlab.crans.org/nounous/nixos
fix: openid deuxième essai
parent
0283224916
commit
89c1390144
|
|
@ -106,8 +106,6 @@ in
|
|||
$wgPluggableAuth_EnableLocalLogin = true;
|
||||
$LDAPAuthentication2AllowLocalLogin = true;
|
||||
$LDAPProviderDomainConfigs = "${config.age.secrets.mediawiki-ldap.path}";
|
||||
# On importe les secrets pour l'OpenID.
|
||||
require '${config.age.secrets.mediawiki-openid.path}';
|
||||
$wgPluggableAuth_Config = [
|
||||
"Compte Crans" => [
|
||||
'plugin' => 'LDAPAuthentication2',
|
||||
|
|
@ -117,14 +115,10 @@ in
|
|||
],
|
||||
"Note BDE" => [
|
||||
'plugin' => 'OpenIDConnect',
|
||||
'data' => [
|
||||
'providerURL' => 'https://note.crans.org/o/',
|
||||
'clientID' => $SecretAgeOpenIDClientID,
|
||||
'clientsecret' => $SecretAgeOpenIDClientSecret,
|
||||
]
|
||||
'data' => require('${config.age.secrets.mediawiki-openid.path}'),
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
# Theme
|
||||
$wgDefaultSkin = 'citizen';
|
||||
$wgCitizenThemeColor = '#AD1F1F';
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue