Limit number of concurrent sessions per user #6619
-
I am considering introducting Logto to my company, but we have a requirement where a user can be logged in with a maximum of 5 sessions. When he logs in a sixth time, the oldest session should be terminated. Can Logto provide this functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Interesting use case, where did such requirement come from, is it business/functional, or is driven by security requirement? |
Beta Was this translation helpful? Give feedback.
-
This is a business requirement: I work for a publisher and we sell subscriptions to premium online content. In order to limit account sharing, a subscriber may not be logged in more than x times simultaneously. |
Beta Was this translation helpful? Give feedback.
@marcagrio can you put in feature request at https://github.com/logto-io/logto/issues/new/choose - @gao-sun and eng team for visibility