When I check the SimpleSAMLphp Authentication module and and click install I get the above error, SimpleSAMLphp module requires the simplesamlphp library. Simplesamlphp is working correctly. Not sure what else I need to do.

Thanks.
Cyndi

Comments

cyndih created an issue. See original summary.

cyndih’s picture

I already installed composer manager, and ran the init command, and the drupal-update command. And simplesamlphp shows up under status of packages managed by Composer.

svendecabooter’s picture

Can you run the "composer update" command as well?
It seems somehow the class can't be loaded through Composer.

In the latest codebase there's also an alternative way to link your SimpleSAMLphp installation (via settings.php). Check the updated README.
Maybe you can get it working that way?

cyndih’s picture

I was able to get it to work with the simplesamlphp_auth 8.x-1.0-alpha1 and the symbolic links to config and metadata.

cyndih’s picture

Status: Active » Closed (fixed)
cobaltjacket’s picture

cyndih, could you please be more specific about what links you created and where? Thanks.

cyndih’s picture

In README.md for simplesamlphp_auth under INSTALLATION WITH COMPOSER MANAGER number 5 says where to symbolic link config and metadata, inside of docroot/vendor/simplesamlphp/simplesamlphp. Thanks.

pimok3000’s picture

This only seems to work with PHP5. No matter what i do (since hours) version 1.14.x and PHP 7.0.7 don´t work with the latest SimpleSAMLphp -dev version.
Installation via composer from my drupal8 root folder via composer went well using the debian unstable repo
- Installing simplesamlphp/simplesamlphp (v1.14.3)
but there is no vendor/simplesamlphp folder after that. Those folders are created in my users home folder. Even giving apache access to those folders AND symlinking them or putting them into settings.php using the right path does not help. When i try to enable the simplesamlphp Module using the modules page in my website it keeps saying:

SimpleSAMLphp module requires the simplesamlphp library. See README file for installation instructions.

Doing a composer drupal-update from the root-folder gives me a:
- Installation request for simplesamlphp/simplesamlphp 1.13.2 -> satisfiable by simplesamlphp/simplesamlphp[v1.13.2].
- simplesamlphp/simplesamlphp v1.13.2 requires php ~5.3 -> your PHP version (7.0.7) does not satisfy that requirement.

pimok3000’s picture

Status: Closed (fixed) » Active

So the module needs PHP7 support

bradjones1’s picture

Category: Bug report » Support request
Related issues: +#2731607: Change dependency on SSP to newer version
snufkin’s picture

Status: Active » Closed (outdated)

The module now depends on a newer version of the library, so the PHP 7 support should be there now. I'll close this for now, please treat PHP7 compatibility issues as separate bugs and open a new ticket.

nielsvoo’s picture

Please help. I simply can't enable the module in Drupal 8. the error "SimpleSAMLphp module requires the simplesamlphp library" just disappears every time.

This is what I've got at the moment.

- A working simplesaml installation at /var/www/simplesamlphp
- The apache Alias /simplesaml /var/www/simplesamlphp/www
therefore the saml installation is available from url; example.com/simplesaml
- Authentication thru ADFS server is working i can see my attributes.
- In setting.php this is added
// SimpleSaml Config
$settings['simplesamlphp_dir'] = '/var/www/simplesamlphp';
- Switched store session type from phpsession to SQL
- Created a mysql db for the sessions, tested and works.

What to do?

Thanks
Nielsvoo