SAML cannot set custom signature scheme when used in Choice
Affected version
Version: 2.18.2
Summary
- Configure Auth::Choice
- One choice: SAML
- Add an IDP
- Set custom signature method (RSA_SHA1 or other)
- Try to login on IDP: all other settings (nameID policy, etc) are ignored
Logs
filename_or_buffer cannot be undef at /home/maxbes/src/lemonldap-ng/lemonldap-ng-portal/blib/lib/Lemonldap/NG/Portal/Lib/SAML.pm line 3435
Possible fixes
For some extremely weird reason, the fact that $self->conf
is a tied hash when Choice is in used interferes with the Lasso binding, which sees the key and certificate strings as empty even if they are not empty