Logout does not work in the CDA context with multiple servers
Hello,
I have an architecture with multiple servers, one dedicated to lemonldap-ng portal (SSO server) and another dedicaded to my application (WAS server). My application can be accessed by severals URLs with different domains.
First, when I log in to my application by URL in same domain than lemonldap-ng portal, the log out works well. However, I notice that the session is purged from the local cache on SSO server but not on WAS server but the logout working because cookie is cleared.
Then, when I log in to my application by URL in a different domain than lemonldap-ng portal (CDA context), the log out doesn't work although the session is purged from the local cache on SSO server.
I had a look to the code and I think a
$session->remove;
is missing in package Lemonldap/NG/Handler/Main.pm in method localUnlog.
I did some tests and it seems to solve my problem.
I use lemonldap-ng 1.9.14.