errors using saml post sso
Here is the use case:
- LemonLDAP 2.0 SAML IdP, authentication = combination (Kerberos, LDAP)
- LemonLDAP SAML SP
On the IdP, I get the following errors, which lead to a 500 internal error
Use of uninitialized value $encryption_mode in pattern match (m//) at /usr/local/share/perl5/Lemonldap/NG/Portal/Lib/SAML.pm line 2888.
Use of uninitialized value $encryption_mode in pattern match (m//) at /usr/local/share/perl5/Lemonldap/NG/Portal/Lib/SAML.pm line 2890.
Use of uninitialized value $encryption_mode in concatenation (.) or string at /usr/local/share/perl5/Lemonldap/NG/Portal/Lib/SAML.pm line 362.
[warn] No IDP found in configuration
Argument "Lasso::Constants::LOGIN_PROTOCOL_PROFILE_BRWS_ART" isn't numeric in numeric eq (==) at /usr/local/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 726.
Argument "Lasso::Constants::LOGIN_PROTOCOL_PROFILE_BRWS_ART" isn't numeric in numeric eq (==) at /usr/local/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 743.
mod_fcgid: stderr: Attribute (storageModule) does not pass the type constraint because: Validation failed for 'Str' with value undef at /usr/lib64/perl5/vendor_perl/Mouse/Util.pm line 383., referer: https://www.auth.example.com/
mod_fcgid: stderr: \tMouse::Util::throw_error('Mouse::Meta::Attribute=HASH(0x198c3e8)', 'Attribute (storageModule) does not pass the type constraint b...', 'data', undef, 'depth', -1) called at /usr/local/share/perl5/Lemonldap/NG/Portal/Lib/SAML.pm line 2778, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Lib::SAML::getSamlSession('Lemonldap::NG::Portal::Issuer::SAML=HASH(0x2, referer: https://www.auth.example.com/
mod_fcgid: stderr: 1a10a0)', undef, 'HASH(0x3ea8bd8)') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 809, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Issuer::SAML::run('Lemonldap::NG::Portal::Issuer::SAML=HASH(0x21a10a0)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'singleSignOn') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Main/Issuer.pm line 123, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Main::Issuer::__ANON__('Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)') called at /usr/local/share/perl5/Lemonldap, referer: https://www.auth.example.com/
mod_fcgid: stderr: /NG/Portal/Main/Process.pm line 25, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Main::process('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Main/Run.pm line 162, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Main::do('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'ARRAY(0x3ea2660)') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Main/Issuer.pm line 125, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Porta, referer: https://www.auth.example.com/
mod_fcgid: stderr: l::Main::Issuer::_forAuthUser('Lemonldap::NG::Portal::Issuer::SAML=HASH(0x21a10a0)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'singleSignOn') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Main/Plugin.pm line 45, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Main::Plugin::__ANON__('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'singleSignOn') called at /usr/local/share/perl5/Lemonldap/NG/Common/PSGI/Router.pm line 145, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Common::PSGI, referer: https://www.auth.example.com/
mod_fcgid: stderr: ::Router::followPath('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'HASH(0x28b6900)', 'ARRAY(0x1908c18)') called at /usr/local/share/perl5/Lemonldap/NG/Common/PSGI/Router.pm line 141, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Common::PSGI::Router::followPath('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)', 'HASH(0xafa820)', 'ARRAY(0x1908c18)') called at /usr/local/share/perl5/Lemonldap/NG/Common/PSGI/Router.pm line 1, referer: https://www.auth.example.com/
mod_fcgid: stderr: 29, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Common::PSGI::Router::handler('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)') called at /usr/local/share/perl5/Lemonldap/NG/Portal/Main/Run.pm line 36, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Portal::Main::handler('Lemonldap::NG::Portal::Main=HASH(0x1631c20)', 'Lemonldap::NG::Portal::Main::Request=HASH(0x3e6db80)') called at /usr/local/share/perl5/Lemonldap/NG/Handler/PSGI/Try.pm line 71, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tLemonldap::NG::Handler::PSGI::Try::__ANON__('HASH(0x3e5faa0)') , referer: https://www.auth.example.com/
mod_fcgid: stderr: called at /usr/share/perl5/vendor_perl/Plack/Util.pm line 142, referer: https://www.auth.example.com/
mod_fcgid: stderr: \teval {...} called at /usr/share/perl5/vendor_perl/Plack/Util.pm line 142, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tPlack::Util::run_app('CODE(0x3e5d178)', 'HASH(0x3e5faa0)') called at /usr/share/perl5/vendor_perl/Plack/Handler/FCGI.pm line 134, referer: https://www.auth.example.com/
mod_fcgid: stderr: \tPlack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0xadfc48)', 'CODE(0x3e5d178)') called at /usr/local/lemonldap-ng/htdocs/portal/htdocs/index.fcgi line 8, referer: https://www.auth.example.com/
It seems some Lasso variables are not loaded. The other errors may be only consequences...