Forums / Developer / single sign OUT / Comment68554
David Wirth
Wednesday 08 June 2011 8:17:41 am
Hm, is your System B allows you to hook on it's logout event, you could use that to destory the users session in that moment (possibly through a custom module of your extension).
This sounds like the most logical solution since you are doing the same thing (but vice versa) in the eZP's logout handler.
P.S: And what about this case: A user is NOT logged in in the System B, but logs in in eZP. Did you cover this case so that then user gets automatically logged in in System B?
It's pretty much a one-way relationship between System A (the eZP server) and System B, which is managed by another company. B does not send anything to A that A does not ask for. System A can send queries to B that include the capability to log the user into and out of B. So yes, a user logging in to eZP is automatically logged into B. The only hole here is what happens when the user logs out directly from B, because it does not let A know, and I cannot ask for System B to be changed to do that (or at least not without major cost).