Activities of "maliming"

hi

hi

Can you share the content of the BTS.HttpApi.Host.csproj file? Thanks

hi

There is no such sample now, we will try to add it later.

hi

Please check your csproj file to see the version of Lepton packages.

It should be 2.3.*-* for abp 7.3.3.

hi

Add your ClaimsPrincipalContributor to the AuthServer project.

In the AuthServer project, you can get the IdentityUser entity(UserManager).

hi

You can add the role id and organization id to principal

https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory

hi

I think there is no angular code for this example.

Good news.

hi

You should make the remember feature invalidate when the user's 2fa changes. This can be complicated.

We will introduce the session management feature in 8.2.

  • [x] Automatically terminate a user session if the same user is logging in with another "same type of device"
  • [x] Make it optional with a setting that can be dynamically changed on the settings page (per tenant), with the following options: Disabled, Logout from same type devices, Logout from all devices.
  • [x] "same type of device" means we can restrict single login with browser, but we may still can login with a mobile application without affecting the browser session. So, for each device type, we may allow a single login. It would be better to enable or disable that restriction per device type.
  • [x] Add a new row action in the user management page, like "Sessions". Open a new modal when we click it.
  • [x] In the "Sessions" modal, show user's currently active sessions (with login time, last activity time, device type). Here, we may "force logout" any session.

hi

the existing database will still be used by other systems so we don't need to change it,

You don't need to change the database and tables.

You need to :

  1. create the entity/aggregate root classes
  2. add your entity classes to DbContext class. DbSet
  3. configure your entity classes in OnModelCreating method of DbContext
  4. Inject the repository and test it.
Showing 5201 to 5210 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.