Topic on Extension talk:SimpleSAMLphp

Compatibility with SSP 2.0?

3
S0ring (talkcontribs)

The following internal error occurs

Warning: require(/var/simplesamlphp/vendor/composer/../../tests/_autoload_modules.php): Failed to open stream: No such file or directory in /var/simplesamlphp/vendor/composer/autoload_real.php on line 71

with the current MW software and SSP 2.0.2

Product Version
MediaWiki 1.39.2
Other
Extension Version License Description Authors
PluggableAuth 6.3 (e7de886)07:09, 17 January 2023 MIT Provides framework for pluggable authentication and authorization Cindy Cicalese
SimpleSAMLphp 5.0.1 (f918b19)07:43, 8 December 2022 MIT Provides authentication using SimpleSAMLphp in conjunction with PluggableAuth Cindy Cicalese and Robert Vogel


[c33ba6ef8bb34c22ebbb2df9] /gamelab/index.php/Special:PluggableAuthLogin Error: Failed opening required '/var/simplesamlphp/vendor/composer/../../tests/_autoload_modules.php' (include_path='/var/www/html/vendor/pear/console_getopt:/var/www/html/vendor/pear/mail:/var/www/html/vendor/pear/mail_mime:/var/www/html/vendor/pear/net_smtp:/var/www/html/vendor/pear/net_socket:/var/www/html/vendor/pear/net_url2:/var/www/html/vendor/pear/pear-core-minimal/src:/var/www/html/vendor/pear/pear_exception:.:/usr/local/lib/php')

Backtrace:

from /var/simplesamlphp/vendor/composer/autoload_real.php(71)

#0 /var/simplesamlphp/vendor/composer/autoload_real.php(61): composerRequire03590d0c044a5d25ee9291b3dc5654e6(string, string)

#1 /var/simplesamlphp/vendor/autoload.php(7): ComposerAutoloaderInit03590d0c044a5d25ee9291b3dc5654e6::getLoader()

#2 /var/simplesamlphp/src/_autoload.php(14): require_once(string)

#3 /var/www/html/extensions/SimpleSAMLphp/src/SimpleSAMLphpSAMLClient.php(5): require_once(string)

#4 /var/www/html/includes/AutoLoader.php(244): require(string)

#5 /var/www/html/extensions/SimpleSAMLphp/src/Factory/SAMLClientFactory.php(25): AutoLoader::autoload(string)

#6 /var/www/html/extensions/SimpleSAMLphp/src/SimpleSAMLphp.php(91): MediaWiki\Extension\SimpleSAMLphp\Factory\SAMLClientFactory->getInstance(MediaWiki\Extension\SimpleSAMLphp\SimpleSAMLphp)

#7 /var/www/html/extensions/PluggableAuth/includes/PluggableAuthFactory.php(175): MediaWiki\Extension\SimpleSAMLphp\SimpleSAMLphp->init(string, array)

#8 /var/www/html/extensions/PluggableAuth/includes/PluggableAuthLogin.php(90): MediaWiki\Extension\PluggableAuth\PluggableAuthFactory->getInstance()

#9 /var/www/html/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\PluggableAuth\PluggableAuthLogin->execute(NULL)

#10 /var/www/html/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run(NULL)

#11 /var/www/html/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)

#12 /var/www/html/includes/MediaWiki.php(904): MediaWiki->performRequest()

#13 /var/www/html/includes/MediaWiki.php(562): MediaWiki->main()

#14 /var/www/html/index.php(50): MediaWiki->run()

#15 /var/www/html/index.php(46): wfIndexMain()

#16 {main}


Is the extension compatible with SSP 2.0?

Osnard (talkcontribs)

Hi!

Yes, it should be. I have successfully tested it with SimpleSAMLphp version 2.0.2.

The error you are reporting you are reporting looks more like an issue within the SimpleSAMLphp ServiceProvider application itself.

Have you been able to perform a test login using the <service-provider-baserurl>/module.php/admin/test page?

How did you set up the Service provider? Using a tarball or a git clone? If you cloned from git, have you run composer install on the directory?

Have you followed https://simplesamlphp.org/docs/stable/simplesamlphp-install.html ?

TiloWiki (talkcontribs)
Reply to "Compatibility with SSP 2.0?"