The given page was not found. The reason was: The module 'module.php' was either not found, or wasn't enabled.

294 views
Skip to first unread message

Peter Dolinaj

unread,
Jun 13, 2023, 2:33:57 PM6/13/23
to SimpleSAMLphp
Bumped into this problem when updating to latest version.

I can get to this url just fine: /simplesaml/module.php/admin/

Where I can see which modules are enabled (admin / core / saml) :

You have the following modules installed:
  •  SAML 2.0 IdP
  •  admin
  •  core
  •  cron
  •  exampleauth
  •  multiauth
  •  saml

But when calling the login url /simplesaml/module.php/module.php/saml/sp/login/?AuthId=... I get the above error.

Any ideas? 

Peter Brand

unread,
Jun 13, 2023, 3:09:46 PM6/13/23
to simple...@googlegroups.com
* Peter Dolinaj <peter....@gmail.com> [2023-06-13 20:34]:
> But when calling the login url /
> simplesaml/module.php/module.php/saml/sp/login/?AuthId=... I get the
> above error.

Note the duplicate /module.php/module.php/ components in that URL.
If the software redirects to that URL itself something's off in your
deployment. What web server and PHP integration are you using?
-peter

Peter Dolinaj

unread,
Jun 13, 2023, 3:16:44 PM6/13/23
to SimpleSAMLphp
Good point! Wonder where is that defined?

Peter Dolinaj

unread,
Jun 14, 2023, 10:46:43 AM6/14/23
to SimpleSAMLphp
To clarify, this error happens when I click on the login URL with is generated by the simplesaml library:

$as = new \SimpleSAML\Auth\Simple(<SLUG>);

$loginUrl = $as->getLoginURL(<RETURN URL>);

<MY SITE URL>/simplesaml/module.php/core/login/<SLUG>?AuthId=<SLUG>&ReturnTo=<RETURN URL>

does the login URL seem OK?

Reply all
Reply to author
Forward
0 new messages