Activities of "maliming"

hi

The scope here can be dynamic.

new KeyValuePair("scope", " ...SCOPES.... ") //Scopes Added Here

But the scope value must be defined in your ClientId .

eg: myclient has AbpAPI profile roles email phone offline_access scope.

You can only pass the scope of AbpAPI profile roles email phone offline_access

Thanks.

hi

You can dynamic pass the scope parameter dynamically, but you can only pass the scope that defined in backend.

Answer

hi

You can do that after enabling session management. You can remove all sessions, and then the user will log out.

see https://abp.io/docs/latest/modules/identity/session-management#how-it-works

Inject the ISecurityLogManager to add new logs.

await _securityLogManager.SaveAsync(securityLog =>
{
    securityLog.Identity = "Test";
    securityLog.Action = "Test-Action";
    securityLog.UserName = "Test-User";
});

https://abp.io/docs/latest/modules/identity/session-management https://abp.io/docs/latest/modules/account/session-management

hi

We will fix this in 9.1

see https://github.com/abpframework/abp/pull/22315

Thanks.

Great

hi

Please share your project with liming.ma@volosoft.com

I will download and check it.

Thanks.

What is your project package version? abp and leptonx?

Did you use Studio to create the new project?

Thanks

hi

Can you test it in a new template project?

I have checked the source code. the logic is no problem

hi

Does your system user have at least one valid 2FA provider? eg they confirmed their email address.

I think if they have. After setting 2FA to Force, every user must log in with 2FA.

hi

If you set 2FA to Forced, The system will assume all users have 2FA enabled, but they need to configure at least one valid 2FA provider. eg: email. SMS, authenticator.

Showing 1541 to 1550 of 10661 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.0.0-preview. Updated on September 12, 2025, 10:20