Hello,
when accessing to http://example.com/saml_login it shows a 404 error page. I have configured the SimpleSaml path in settings.php:
$settings['simplesamlphp_dir'] = '/var/www/vhosts/example.com/sp.example.com';

SimpleSaml SP is installed on sp.example.com whilst Drupal is installed on example.com. The SP works correctly, and the authentication source is correctly configured.

The error I get in my logs is:
File does not exist: /var/www/vhosts/example.com/httpdocs/saml_login, referer: http://example.com/user/login

(Drupal is located at /var/www/vhosts/example.com/httpdocs)

Thanks!

Comments

lucarg created an issue. See original summary.

lucarg’s picture

Issue summary: View changes
odegard’s picture

My first thought is that you haven't created an alias in the vhost config pointing to where simplesaml_php/www is. See #6 here https://simplesamlphp.org/docs/stable/simplesamlphp-install

dakku’s picture

Status: Active » Closed (works as designed)
dakku’s picture

AgentJay’s picture

I'm having the same issue. I've installed the module using composer.

I've configured the module according to the instructions. Including the vhost file
When I click the 'Federated Login' link I go to a 404 page at this address:
https://testalpha.test.com/simplesaml/module.php/core/loginuserpass.php?...

The path 'https://testalpha.test.com/simplesaml/module.php' resolves correctly. And shows module.php meaning the vhost alias is correct... but the rest of the stuff that gets added breaks it leading to a 404 error