Activities of "liangshiwei"

I will check it

Hi,

I can't reproduce the problem.

Could you try again?

I added the following Package Volo.CmsKit.Pro.Web and then added the following as a dependency typeof(CmsKitProPublicWebModule) in PublicWebModule.

Maybe you need to enable the CMS feature for the Public web project.

ok,

Good to see the problem has been solved. I'm closing the question.

Hi,

You can try this:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LogoutController))]
public class MyLogoutController : LogoutController
{
    [HttpGet]
    public async override Task<IActionResult> GetAsync()
    {
        await SignInManager.SignOutAsync();

        var blazorUrl = "https://localhost:44307"; // front-end url
        var postLogoutRedirectUri = string.Empty;

        if (HttpContext.Request.Query.ContainsKey("post_logout_redirect_uri"))
        {
            postLogoutRedirectUri = HttpContext.Request.Query["post_logout_redirect_uri"].ToString();
        }
        
        
        if (postLogoutRedirectUri.StartsWith(blazorUrl))
        {
            return Redirect($"https://localhost:44305/account/login?returnUrl={blazorUrl}");
        }
        
        return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);
    }
}

The CurrentUserTenantResolveContributor requires that the user is already logged in

Gets the tenant id from claims of the current user if the current user has logged in.

This means it's not possible, you have to determine the tenant via a cookie or something else.

BTW, you maybe want to check this: https://support.abp.io/QA/Questions/4914

Hi,

You need to switch the current tenant before logging in:

I'm determine current tenant by user. I followed indications of documentation https://docs.abp.io/en/abp/latest/Multi-Tenancy After trying to log in, I receive a message of invalid credentials. Can you give me some suggestions?

I have following code in the projects AuthServer and Blazor:

Configure<AbpTenantResolveOptions>(options => {
options.TenantResolvers.Add(new CurrentUserTenantResolveContributor()); });

The CurrentUserTenantResolveContributor requires that the user is already logged in

Gets the tenant id from claims of the current user, if the current user has logged in.

Hi

we downloaded the free version before about 6 months and did our customization on it then lately we upgraded the license but still the language management menu is still missing

As you said, you were using the free version before, ABP will not install the language management module by default for the free version

If you create a new project using the ABP suite, you will find the language management module is preinstalled.

Hi,

You can try:

.OrderBy(b => EF.Property<int>(b, "RankOrder"));

You have to add RankOrder as a separate field of the table

See: https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities#entity-extensions-ef-core

Hi,

The version 7.1.1

Showing 3931 to 3940 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 November 04, 2025, 06:41