Hello,
In examples I have seen to get this up and running, there is mention of authSourceId as default-sp (inside of $wgPluggableAuth_Config). Where is default-sp configured? There is also mention of a config.php file but I cannot find this in the installation folder for the simplesamlphp extension. Specifically, I am missing how to setup the SP metadata and also, ingest the IdP metadata into mediawiki for SAML authentication. Any help will be greatly appreciated, thank you.
This is where I am so far
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_EnableAutoLogin = true;
$wgPluggableAuth_EnableLocalLogin = true; //false
$wgPluggableAuth_EnableLocalProperties = false;
$wgGroupPermissions['*']['autocreateaccount'] = true;
# adding SimpleSAMLphp extension
wfLoadExtension( 'SimpleSAMLphp' );
# SimpleSAMLphp install directory. Required.
$wgSimpleSAMLphp_InstallDir = '/extensions/SimpleSAMLphp/src';
$wgPluggableAuth_Config['Log in using Banks SAML'] = [
'plugin' => 'SimpleSAMLphp',
'data' => [
'authSourceId' => 'default-sp',
'usernameAttribute' => '...emailaddress',
'realNameAttribute' => '...name',
'emailAttribute' => '...emailaddress'
]
];
Really sorry for tagging you Cindy if I am not supposed to. I am doing so because I see you an author for SimpleSamlphp and really need help. Thank you.
Note: took out the preceding part of the user attributes cause my topic was being warned as having spam links