mediawiki: 1.39.4
simplesamlphp 7
pluggableauth 7
I am getting the error Could not load authentication plugin
$wgPluggableAuth_Config['Log in using my SAML'] = [ 'plugin' => 'SimpleSAMLphp', 'data' => [ 'authSourceId' => 'default-sp', 'usernameAttribute' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', 'realNameAttribute' => ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname','http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname'], 'emailAttribute' => 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress' ] ]; wfLoadExtension( 'PluggableAuth' ); wfLoadExtension( 'SimpleSAMLphp' ); $wgPluggableAuth_EnableAutoLogin = true; $wgPluggableAuth_EnableLocalLogin = false; $wgPluggableAuth_EnableLocalProperties = false; $wgPluggableAuth_ButtonLabelMessage = 'Login'; $wgPluggableAuth_Class = 'SimpleSAMLphp'; $wgSimpleSAMLphp_InstallDir = '/var/simplesamlphp/'; installation path is added storetype is sql $wgMainCacheType = CACHE_NONE; $wgMainCacheType = CACHE_DB;