Skip to content

[Feature]: Server initiated logout #170

@jhodapp

Description

@jhodapp

Suggestion / Feature Request

We need a mechanism to log users out of the frontend user session from the backend. This may be as easy as removing a specific user session entry from the authorized_sessions table for a first version, but we may want a way of pushing an event to a specific user session on the frontend that forces it to perform a logout and remove the relevant session cookie.

The reason this is needed is because sometimes we will make certain changes to the application that breaks a current logged in session, and it's a bad user experience to run into such a situation. Logging them out of their session would take care of this.

Perhaps there is a more graceful way of handling such a situation, but it'd still be useful to have a mechanism for the backend to forcefully log a specific or all user sessions out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature workSpecifically implementing a new feature

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions