logout forward doesn't work anymore
Concerned version
Version: at least %2.0.6 and %2.0.7
Platform: Apache
Summary
In demo authentication or in choice authentication, logout forward is no called any more.
Logs
[Wed Apr 8 17:56:12 2020] [LLNG:6468] [debug] [notice] User dwho has been disconnected from Demo (127.0.0.1)
[Wed Apr 8 17:56:12 2020] [LLNG:6468] [debug] Session d96f1ea16b3043c6002d108cfa20499eb15d170c6918d456828975ed1b1303ef deleted from global storage
[HERE]
[Wed Apr 8 17:56:12 2020] [LLNG:6468] [debug] Returned error: 47 (PE_LOGOUT_OK)
At [HERE] mark, the transfert logout should appear.
I tried to debug a little further. It seems to happen in file:
/usr/share/perl5/Lemonldap/NG/Portal/Main/Process.pm
line 192:
# TODO
# Collect logout services and build hidden iFrames
if ( $req->data->{logoutServices} and %{ $req->data->{logoutServices} } ) {
- in demo mode, logoutServices does not appear in any structure
- in choice mode, logoutServices appear into $req->data->enabledMods0 object
I don't really know how logoutServices is supposed to be provisioned into $req-data, does anybody have an idea?
Backends used
- authentication: demo or choice(demo)
- userDB: Same
- Password: Demo