Activities of "nhontran"

ok, I will try and update the result here.

This seems like a drawback for us. Is there any plan to make this configurable through the UI?

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Auth Server Separated (for Angular): yes

I would like to implement a feature to disable concurrent user logins in our application to enhance security.

Requirements:

  • When a user logs in, any active sessions of that user should be automatically logged out.
  • Only one active session per user should be allowed at any given time.

Most of the articles I found here is for Identity Server 4, I have migrated to OpenIdDict, is there a built-in feature for this?

Please provide guidance on how to configure or extend the ABP framework to achieve this behavior.

Thank you.

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Auth Server Separated (for Angular): yes

I am working with the ABP Framework, and I came across a pattern in the code where a controller class is implementing an application service interface, as shown below:

Could you kindly clarify the reasoning behind this pattern? Specifically, why would a controller implement an application service interface, as it seems to merge the concerns of both the controller and the service layer into one class?

I understand that typically the application service encapsulates the business logic, while the controller handles the HTTP requests. Is this an intended pattern in certain scenarios within ABP, and what would be the advantages or trade-offs of using it compared to the more common separation of concerns?

Hi @maliming, this feature does not seem to work. After selecting the "LogoutFromAllDevices" option. I logged in on a new device, and observed that in the AbpSessions table, the old session was deleted and the new session has been created. However, the web application (I am using Angular) did not log me out on the old device.

Am I missing something? Could you help me resolve this?

Hi @maliming, Yes, I have enabled the feature. Could you let me know when this feature was officially released?

I created a new project using version 8.0.2, but noticed that the feature is not available. Interestingly, my older project, also on version 8.0.2, includes it. I'm not sure why there's this discrepancy.

noted. Let me upgrade it to 8.2.0.

Thank you

Hi @maliming,

Yes, I just created a new project version 8.2.0 and it works.

However, when I tried to upgrade our existing solution by running "abp update -v 8.0.2", my Angular and .NET projects did not receive any updates. All the DLLs remain at version 8.0.2.

Hi @maliming, I manually updated it and now encountered this error in Auth Server:

Hi, please ignore it. I have fixed it by updating the Theme LeptonX version as well:

<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.2.0" />

Showing 191 to 199 of 199 entries
Made with ❤️ on ABP v9.0.0-preview. Updated on October 07, 2024, 08:52