LL::NG 2.0 SAML updatePersistentSession issue
Concerned version
Version: 2.0.0~beta1-1
Platform: Debian 9 / Apache 2.4
Summary
I'm actually trying to implement SAML SSO between redmine and LL::NG V2.0. So i used an SAML module for redmine (omniauth_saml) and configured it in the same way you would configure gitlab (for example). It seems that I'm close to make it work but i'm facing an error. When I try to log in redmine, I'm redirected to LL::ng, and I'm successfully authenticated, then a 500 error after LASSO saves identity in session.
Do you have any idea about this kind of problem?
Logs
[debug] http://redmine-test.mydomain.fr/saml/metadata match REDMINE-TEST SP in configuration
[debug] Signature is valid
[debug] Force AllowCreate flag in NameIDPolicy
[debug] SSO: authentication request is valid
[debug] Found ForceAuthn flag with value 0
[debug] Authentication context is urn:oasis:names:tc:SAML:2.0:ac:classes:Password
[debug] Convert timestamp 1536069166 in SAML2 date: 2018-09-04T13:52:46Z
[debug] Convert timestamp 1536141166 in SAML2 date: 2018-09-05T09:52:46Z
[debug] Convert timestamp 1536069166 in SAML2 date: 2018-09-04T13:52:46Z
[debug] Convert timestamp 1536141166 in SAML2 date: 2018-09-05T09:52:46Z
[debug] SSO: assertion is built
[debug] Get NameID format urn:oasis:names:tc:SAML:2.0:nameid-format:persistent from request
Use of uninitialized value in hash element at /usr/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 511.
Use of uninitialized value $nameIDSessionKey in hash element at /usr/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 523.
[debug] NameID Format is urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
[debug] NameID Content is _4F34900115BFC28965610832B99A49FA
[debug] SAML2 attribute uid is not mandatory
[debug] SAML2 attribute mail is not mandatory
[debug] Set sessionIndex 96549b99ec31fbc8789ddd4c764cd8a88c7faa06f26aba28df73bd55e842b3e5 (linked to session 99f8618a7db42f00e36f107959631332f2e1342445bbe1248b8ee75899474ee2)
[debug] Convert timestamp 1536141166 in SAML2 date: 2018-09-05T09:52:46Z
[debug] Set sessionNotOnOrAfter 2018-09-05T09:52:46Z
[debug] SSO response signature according to metadata
[notice] SAML authentication response sent to SAML SP REDMINE-TEST for julien.tehery with persistent NameID _4F34900115BFC28965610832B99A49FA
[debug] SSO: authentication response is built
[debug] Save Lasso identity in session
[Tue Sep 04 15:52:46.302558 2018] [fcgid:warn] [pid 11671] [client X.X.X.X:52615] mod_fcgid: stderr: Can't locate object method "updatePersistentSession" via package "Lemonldap::NG::Portal::Issuer::SAML" at /usr/share/perl5/Lemonldap/NG/Portal/Issuer/SAML.pm line 828., referer: https://sso.mydomain.fr/saml/singleSignOn?SAMLRequest=hZJdb4IwFIb%2FCne9qlQUlAZIiGaJifuIbrvYzVLxoGSlZT0Ht%2F37AWbLtgt32zzvR97TBFWtG5m3dDQbeG0BycsRwVFlzcIabGtwW3CnqoCHzTplR6JG%2Bn5p3QE4dfjINmDgBIZwVDpfdU5%2Bb%2BoXSuudKl6Yt%2Bywyqje8tsA0f5RDiKszEHDtjqYW8O81TJlz6oEmIex4HEwm3ExnkR8OokUFyIUYTSP5uEu7lDEFlYGSRlKWSDGcy5iLqb344kMAxnET8x7BIdDh2AkmPdea4OyT01Z64y0CiuURtWAkgq5za%2FXsgOl%2Bprjp6S5rGmcJVtYzbKkp%2BXQzmX%2FjTdMUAOpvSKV%2BD%2BlyflQN13UanlndVV8eLnW9m3hQBGkjFwLzLuyrlZ0uVz%2FUu15OaCy6UdB6iowPztn%2Fv4P2Sc%3D
Backends used
SAML Authetication