Use vs code to search Volo.Abp.LeptonXTheme.Installer
and change it's version
Hi,
You can try Volo.Abp.LeptonXTheme.Installer
version a to 4.0.3
Hi @improwise
ABP 9.0.x is based on the blazorise 1.6.2, some errors may occur when you use different versions.
You can configure keyclock as an external login provider
https://abp.io/docs/latest/modules/account-pro#social-external-logins
Override the register model class to get tenant from claims, for example:
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(RegisterModel))]
public class MyRegisterModel : RegisterModel
{
public MyRegisterModel(
IAuthenticationSchemeProvider schemeProvider,
IOptions<AbpAccountOptions> accountOptions,
IAccountExternalProviderAppService accountExternalProviderAppService,
ICurrentPrincipalAccessor currentPrincipalAccessor,
IHttpClientFactory httpClientFactory) : base(schemeProvider, accountOptions, accountExternalProviderAppService, currentPrincipalAccessor, httpClientFactory)
{
}
public override async Task<IActionResult> OnPostAsync()
{
ExternalProviders = await GetExternalProviders();
if (IsExternalLogin)
{
var externalLoginInfo = await SignInManager.GetExternalLoginInfoAsync();
// get tenant from externalLoginInfo claims
var tenantId = xxxx;
using(CurrentTenant.Change(tenantId))
{
return await base.OnPostAsync();
}
}
}
}
I can login with user without any problem.
Earlier Language used to part of the solution without the need of additional micro service.
because your solution doesn't configure language service, you need to install it manually. anyway, I remember you create a new microsiervce project with language service and use the same connection string as the existing language service
Hi,
There are many reasons for low performance, usually, there are too many database requests.
You can try using some APM to check it, Elastic APM or Azure Application Insights
the command
could you try this
dotnet run ... --environment Production
Hi,
You can use Resource Owner Password Flow https://abp.io/docs/latest/framework/ui/angular/account-module#resource-owner-password-flow
Hi,
You need to upgrade step by step, there are many changes between different versions.
Hi,
The problem was fixed, you can upgrade to 9.0.2 version. your ticket was refunded.