Open ajspetner opened 3 months ago
@seiyako shouldn't this be labeled as a bug, since it is not working as per the documentation?
Yes, this is a known bug that we'll be fixing as part of introducing a new set of logout/login helper APIs. In the meantime, you can do a hack and replace eventBus.trigger(connect.EventType.TERMINATE);
with connect.core.getUpstream().sendUpstream(connect.EventType.TERMINATE)
. This will work as a temporary workaround, but I can't guarantee that this to be a permanent solution.
When manually triggering logout per the documentation as such:
The
TERMINATED
event is never triggered, contrary to the documentation.