Skip to content

Ktor server invalidate session #4727

@Vivecstel

Description

@Vivecstel

Is it possible to invalidate all the other session for a user when he/she creates a new session ?
The use case is like this:
e.g. the user logins in one device (mobile or web) and a new session is created from server.
Then the same user logins from another device (mobile or web) and creates a new session. The session from the old device needs to be invalidated and only the session from the new device should be active.
| searched the sessions plugin and authentication/session but now sure if this is possible right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions