打开 关闭

Limiting user access by count of currently logged in users #2860


User avatar
0
jpietkiewicz_ 创建

Is it possible to limit the number of users logged in at the same time, i.e. license management

We are looking at license managers that we can integrate into our application to prohibit customers from running the application without a license, but we also need to be able to deny new user logins when the max number of users has been reached (we would obtain the max # from the license).


1 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    Is it possible to limit the number of users logged in at the same time

    You can check in the login endpoint.

    Store login user info in Redis or database. Prohibit logins after reaching the limit, or limit previous logins. You can limit this by adding a special value to user claims.

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11