Activities of "maliming"

hi


Configure<AbpDataSeedOptions>(options =>
{
    options.Contributors.RemoveAll(x => x == typeof(PermissionDataSeedContributor))
});```

hi

I will share a such sample asap.

CLI will write secrets in appsettings.secrets.json

Make sure you've logged in.

Usage:
  abp login <username>
  abp login <username> -p <password>
  abp login <username> --device

Example:

  abp login john
  abp login john -p 1234

See the documentation for more info: https://docs.abp.io/en/abp/latest/CLI

You can try to override the OnPostAsync of OpenIddictSupportedLoginModel

In this method, you can get username and ClientId. It can complete the login or deny the login

Please refer to our upgrade documentation,

https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index

It is difficult for me to determine the cause of the problem if I cannot reproduce the problem

"Actually, the project is created with the ABP Suite. Should I wait for ABP to be upgraded for this?

OK, How can I reproduce this exception?

Please share the steps and code. Thanks

hi

How can I reproduce this in a new project? Please steps and code. Thanks

If other projects refer to high-version packages, you can only wait for abp to upgrade

You can try to add <PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" /> to your project.

You can get the current clientid. Then you can execute custom logic

public async Task<string> MyMethodAsync()
{
    var clientIdClaim = CurrentUser.GetAllClaims().FirstOrDefault(x => x.Type == AbpClaimTypes.ClientId);
    if (clientIdClaim != null)
    {
        if (clientIdClaim.Value == "public")
        {

        }

        if (clientIdClaim.Value == "private")
        {

        }
    }

}
Showing 7411 to 7420 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.