-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login LDAP error after FileSender (2.48) & SimpleSAMLphp (2.2.2) upgrade #1939
Comments
FileSender is using The filesender/classes/auth/AuthSPSaml.class.php Line 297 in 461ccb2
The URL used to login is obtained from that API: filesender/classes/auth/AuthSPSaml.class.php Line 235 in 461ccb2
That SSP This is where your |
Thanks for you reply! The error is: I've activated the ldap module, and the saml module isn't activated. |
If I understand correctly, FileSender is based on the configuration file, which in this case specifies: However, when it built the URL, it built it with the saml module instead of the ldap module: I think I'm not far from the truth, but I can't find the source of the error 😬 |
I hadn't seen it properly! SimpleSAMLphp builds its URL with public function getLoginURL(?string $returnTo = null): string
{
if ($returnTo === null) {
$httpUtils = new Utils\HTTP();
$returnTo = $httpUtils->getSelfURL();
}
$login = Module::getModuleURL('saml/sp/login/' . urlencode($this->authSource), [
'ReturnTo' => $returnTo,
]);
return $login;
} I opened an issue on the SimpleSAMLphp repo: |
After checking, this is a misuse of ldap with SimpleSAMLphp. I decided to use SimpleSAMLphp as an SP, coupled with the Keycloak IdP. |
Hello,
I upgraded FileSender to 2.48. Following that, I wanted to upgrade SimpleSAMLphp, which with version 2 changes a bit the way it works.
I managed to configure it and test my LDAP connection.
However, when I configured it with FileSender, it didn't work.
By default FileSender seems to refer to the SAML module, whereas I'm using LDAP.
The link for my login button :
https://myfilesender/simplesaml/module.php/saml/sp/login/filesender-ldap?ReturnTo=....
My FileSender config.php (SAML part):
My SimpleSAMLphp authsource:
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: