I noticed there doesn't seem to be any documentation showing that your Drupal site needs the Apache alias that allows all requests to "/simplesamlphp" to be handled by the by simplesamlphp. This needed to be in my Drupal site's virtual host file after the document root declaration before the module would work.

Alias /simplesaml /var/www/simplesamlphp/www

Comments

doublejosh’s picture

Status: Active » Closed (fixed)

This is documented in the SimpleSAMLphp install guide under "Configuring Apache."
http://simplesamlphp.org/docs/1.9/simplesamlphp-install

Important note, you need to place the library OUTSIDE the webroot and alias ONLY the www directory within simplesaml.
That's the only reason the alias is necessary.

Here's the code from that page...

<VirtualHost *>
        ServerName service.example.com
        DocumentRoot /var/www/service.example.com
        Alias /simplesaml /var/simplesamlphp/www
</VirtualHost>
doublejosh’s picture

Would still be good to better doc this stuff and/or provide direct links, etc.

colan’s picture

Version: 6.x-2.7 » 7.x-2.0-alpha1
Status: Closed (fixed) » Fixed

We've got:

1) You must have SimpleSAMLphp installed and configured as a working service
point (SP) as the module uses your local SimpleSAMLphp SP for the SAML
support. For more information on installing and configuring SimpleSAMLphp as
an SP visit: http://www.simplesamlphp.org.

...in the README, which I think is good enough.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.