fix: openid deuxième essai

wiki
Pyjacpp 2026-02-24 20:11:32 +01:00
parent 0283224916
commit 89c1390144
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
2 changed files with 2 additions and 8 deletions

View File

@ -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,11 +115,7 @@ in
],
"Note BDE" => [
'plugin' => 'OpenIDConnect',
'data' => [
'providerURL' => 'https://note.crans.org/o/',
'clientID' => $SecretAgeOpenIDClientID,
'clientsecret' => $SecretAgeOpenIDClientSecret,
]
'data' => require('${config.age.secrets.mediawiki-openid.path}'),
]
];