1) The problem → I would like a way to logout a user after they have finished their session.
2) Why is this important →
3) What's your plan B → To add this script
<script>window.addEventListener("beforeunload", function () {
MemberStack.logout();
return undefined;
});
</script>
It's not perfect - it fires on page reload as well as tab/browser close
4) Possible solutions we could build for you → To change the session cookies? Or in some way to make it log out