Activities of "liangshiwei"

We need you to use a template project to reproduce this problem and provide full steps. thanks.

Hi Could you share a simple project to reproduce the problem? thanks

Hi,

Can I check it remotely? shiwei.liang@volosoft.com. please email me.

HI,

Can I check it remotely? shiwei.liang@volosoft.com

You can deploy API as a sub appliation.

See https://devblogs.microsoft.com/aspnet/part-1-of-3-creating-sub-projects-in-iis-with-web-application-projects/

@suraj.kumbhar

Could you open a new question? thanks.

Can I check it remotely? shiwei.liang@volosoft.com

Hi,

What version are you using?

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no

Hi,

I find the problem, see : https://github.com/abpframework/abp/pull/7814/files

For now , you need to :

public class MyAbpSecurityStampValidator : AbpSecurityStampValidator
{
    protected ITenantConfigurationProvider TenantConfigurationProvider { get; }
    protected ICurrentTenant CurrentTenant { get; }

    public MyAbpSecurityStampValidator(
        IOptions<SecurityStampValidatorOptions> options,
        SignInManager<IdentityUser> signInManager,
        ISystemClock systemClock,
        ILoggerFactory loggerFactory,
        ITenantConfigurationProvider tenantConfigurationProvider,
        ICurrentTenant currentTenant) : base(options, signInManager, systemClock, loggerFactory)
    {
        TenantConfigurationProvider = tenantConfigurationProvider;
        CurrentTenant = currentTenant;
    }

    [UnitOfWork]
    public override async Task ValidateAsync(CookieValidatePrincipalContext context)
    {
        var tenant = await TenantConfigurationProvider.GetAsync(saveResolveResult: false);
        using (CurrentTenant.Change(tenant?.Id, tenant?.Name))
        {
            await base.ValidateAsync(context);
        }
    }
}

context.Services.AddScoped<MyAbpSecurityStampValidator>();
context.Services.AddScoped(typeof(SecurityStampValidator<IdentityUser>), provider => provider.GetService(typeof(MyAbpSecurityStampValidator)));
context.Services.AddScoped(typeof(ISecurityStampValidator), provider => provider.GetService(typeof(MyAbpSecurityStampValidator)));

Hi,

I use the project you provided and it works for me.

I have send the proejct zip file to your email, you can check it.

Showing 5941 to 5950 of 6693 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.