Код: Выделить всё
Could not load authentication plugin
Код: Выделить всё
Start request GET /wiki/Special:PluggableAuthLogin
[Pluggableauth] In execute()
[Pluggebleauth] Getting PluggableAuth instance
[Pluggableauth] Plugin name: SimpleSAMLphp
[Pluggableauth] Invalid authentication plugin class: Invalid session ID
get [0.228ms] 127.0.0-1: SELECT 1c value FROM ~110n_caci
Это пакет Bitnami из Викимедиа.
Мой файл LocalSettings.php выглядит так:
Код: Выделить всё
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'SimpleSAMLphp' );
//$wgShowExceptionDetails = true;
$wgSimpleSAMLphp_InstallDir = "/var/simplesaml";
$wgSimpleSAMLphp_AuthSourceId = 'default-sp';
$wgShowExceptionDetails = true;
# Auto login to prevent users to look into mediawiki without being logged
$wgPluggableAuth_EnableAutoLogin = false;
$wgPluggableAuth_Config['Log in using SimpleSAML'] = [
'plugin' => 'SimpleSAMLphp',
'data' => [
'authSourceId' => 'default-sp',
'usernameAttribute' => 'uid', // or whatever your IdP calls the username
'realNameAttribute' => 'uid', // or another attribute for full name
'emailAttribute' => 'email', // or the correct attribute for email
'debug' => true
]
];
$wgDebugLogFile = '/tmp/mediawiki-debug.log';
Подробнее здесь: https://stackoverflow.com/questions/793 ... ion-plugin