Extension talk:SimpleSAMLphp
Add topicanyone tried on MW 1.43?
[edit]anyone tried it on MW 1.43? TiloWiki (talk) 22:37, 3 January 2025 (UTC)
got it working. Struggled a bit with the simplesamlphp 2.x changes (like cachedir default)
tip, troubleshoot simplesamlphp with tail 300 /var/log/apache2/error.log
here my version mix if you want to add it to the matrix
SimpleSAMLphp 2.3.5 PluggableAuth 7.1.0 (4ef6f74) 2024-11-25T22:08:23 SimpleSAMLphp 7.0.1 (5535143) 2024-11-24T03:49:06 Product Version MediaWiki 1.43.0 PHP 8.3.6 (apache2handler) ICU 74.2 MySQL 8.0.40-0ubuntu0.24.04.1 Pygments 2.17.2
PluggableAuthLogin TypeError ($titleFactory) must be of type MediaWiki\Title\TitleFactory
[edit]Today on MW 1.39 (PluggableAuth 7.3.0, SimpleSAMLphp 7.0.1) after our maintenance window I got the following error. I had to restore the previous backup in order the login to work again. What can be the cause of it?
[45026be59ca42f648840a5e4] /kim/index.php/Spezial:PluggableAuthLogin TypeError: MediaWiki\Extension\SimpleSAMLphp\SimpleSAMLphp::__construct(): Argument #1 ($titleFactory) must be of type MediaWiki\Title\TitleFactory, TitleFactory given, called in /var/www/html/vendor/wikimedia/object-factory/s rc/ObjectFactory.php on line 247
Backtrace:
from /var/www/html/extensions/SimpleSAMLphp/src/SimpleSAMLphp.php(89)
#0 /var/www/html/vendor/wikimedia/object-factory/src/ObjectFactory.php(247): MediaWiki\Extension\SimpleSAMLphp\SimpleSAMLphp->__construct(TitleFactory, MediaWiki\User\UserFactory, MediaWiki\Auth\AuthManager, MediaWiki\Extension\SimpleSAMLphp\Factory\SAMLClientFactory, MediaWiki\Extension\SimpleSAMLphp\Factory\MandatoryUserInfoProviderFactory)
#1 /var/www/html/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array)
#2 /var/www/html/extensions/PluggableAuth/includes/PluggableAuthFactory.php(206): Wikimedia\ObjectFactory\ObjectFactory->createObject(array, array)
#3 /var/www/html/extensions/PluggableAuth/includes/PluggableAuthFactory.php(186): MediaWiki\Extension\PluggableAuth\PluggableAuthFactory->getInstanceByName(string)
#4 /var/www/html/extensions/PluggableAuth/includes/PluggableAuthLogin.php(99): MediaWiki\Extension\PluggableAuth\PluggableAuthFactory->getInstance()
#5 /var/www/html/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\PluggableAuth\PluggableAuthLogin->execute(NULL)
#6 /var/www/html/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run(NULL)
#7 /var/www/html/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#8 /var/www/html/includes/MediaWiki.php(904): MediaWiki->performRequest()
#9 /var/www/html/includes/MediaWiki.php(562): MediaWiki->main()
#10 /var/www/html/index.php(50): MediaWiki->run()
#11 /var/www/html/index.php(46): wfIndexMain()
#12 {main} S0ring (talk) 07:16, 17 July 2025 (UTC)
More than one info provider?
[edit]Can you have more then one info provider or is the script designed to work only with one? Krabina (talk) 09:55, 22 September 2025 (UTC)