[Wishlist] A way to logout a user after closing their browser Not planned

Post author
Memberstack Team

[This post was migrated from our old community roadmap]

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 () {
return undefined;
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


1 comment

  • Comment author
    Duncan Hamra

    If you are excited about this feature please leave a 👍 and a comment explaining why this feature is important for your project. We read every comment and prioritize our roadmap with those comments in mind.

    This feature is not currently scheduled for development.


Please sign in to leave a comment.