Activities of "liangshiwei"

Hi,

You can try:

.....
claimsPrincipal.SetAccessTokenLifetime() // set access token lifetime

....
await context.HttpContext.RequestServices.GetRequiredService<AbpOpenIddictClaimsPrincipalManager>().HandleAsync(context.Request, principal);
return new SignInResult(OpenIddictServerAspNetCoreDefaults.AuthenticationScheme, claimsPrincipal);

Hi,

Can you try to remove the if (Convert.ToBoolean(configuration["AuthServer:IsOnK8s"])) code?

Then you can test it locally to see if it works

Answer

Hi,

You can remove them, but I don't recommend it.

Hi,

You can try updating the yarp.json in the WebGateway.

For example

 "ChatSignalr": {
    "ClusterId": "Administration",
    "Match": {
      "Path": "/signalr-hubs/chat/{**catch-all}"
    }
  },
  "Chat": {
    "ClusterId": "Administration",
    "Match": {
      "Path": "/api/chat/{**catch-all}"
    }
  },

Hi,

Thanks for the information. I can reproduce the problem. We will check it. your ticket was refunded.

Hi,

Could you give me more information?

  • ABP Framework version: vX.X.X
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no

Hi,

Will this can help you?

https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/MVC-TIERED/src/Acme.BookStore.Web/BookStoreWebModule.cs#L162-L176

Hi,

Will this can help you? https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/MVC-TIERED/src/Acme.BookStore.Web/BookStoreWebModule.cs#L162-L176

Hi,

Yes I did.

and then running the solution from Visual Studio directly?

I use the dotnet run command to run the project

There should be work. because the tenant is first determined from the current user and not the domain

And it works for me

Configure<AbpTenantResolveOptions>(options =>
{
    options.AddDomainTenantResolver("{0}.localhost");
});

Showing 2351 to 2360 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 07, 2025, 08:20