hi
Please create a same name app-pro
project and copy MyProjectNameTenantDatabaseMigrationHandler
to your Dm.DynamicTemplate.IdentityServer
project.
hi
I think you can change to Host instead of disabling the filter.
using (CurrentTenant.Change(null))
// disable TenantFilter
using (_dataFilter.Disable())
{
// read tenant from username (unique for all tenants, by overwritten RegisterModel)
// if we login with disabled IMultiTenant DataFilter, we have issues with claims
// therefore we read tenant from username, then switch the current tenant and login
await ReplaceEmailToUsernameOfInputIfNeeds();
tenantId = await _extendedOrganizationUnitAppService.GetTenantByUsername(LoginInput.UserNameOrEmailAddress);
}
btw, can you share tenantId = await _extendedOrganizationUnitAppService.GetTenantByUsername(LoginInput.UserNameOrEmailAddress);
as well?
hi
I can't reproduce your problem,Can you share full steps?
hi
PasswordSignInAsync
method of SignInManager<IdentityUser>
class and GetTwoFactorEnabledAsync
of UserManager<IdentityUser>
hi
I will check it asap.
hi
I don't receive the mail. Can you check?
hi trevor.wilson
. I am wondering if there a way for me to switch an existing dotnet solution to use the app-pro template?
You can only manually create a new app-pro project, and then refer to the new project to replace the open source package with the pro package. Just compare projects.