hi vijay.nallala
We can discuss here. Please reply if you have any questions.
I think everything is ok locally, right?
Can you add below code to identity server and api?
public void ConfigureServices(IServiceCollection services)
{
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
context.Services.AddDataProtection()
.PersistKeysToStackExchangeRedis(redis, "Your-DataProtection-Keys")
.SetApplicationName("YourAppName");
}
hi
The tenant switch component show logic:
MultiTenancyOptions.Value.IsEnabled &&
(TenantResolveResultAccessor.Result?.AppliedResolvers?.Contains(CookieTenantResolveContributor.ContributorName) == true))
hi @broctune
Can you share the project with me? liming.ma@volosoft.com
hi
You can try this method in Angular.
this.authService.navigateToLogin();
hi christophe
Since Angular can customize Accept-Language
, you don't need to remove AcceptLanguageHeaderRequestCultureProvider
in backend.
https://github.com/abpframework/abp/pull/9162
I believe that I can see the problem remotely, but it is not convenient to solve the problem remotely, and there may be network problems.
Can you make a minimal project that reproduces the problem?
hi
Can you share a project that can be run in my local? The project you shared before can't run.
hi @gaoyao
I will handle this. Thanks
hi
I will talk about this issue with my angular colleague in the afternoon.
Angular is using accept-language
instead of cookies.
You can try the above code in mvc, it should works as your expected.