Hurry Up, Ends March 14!
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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08