Open Closed

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


User avatar
0
jpietkiewicz_ created

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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team 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 v9.1.0-preview. Updated on November 11, 2024, 11:11