Open comm-amir-david opened 1 year ago
Hi, I need a little more information. What kind of tenant strategy are you using? What is the url being processed when you get this error?
and i am using code workflow i think the error is happening when there is no tenant found.
i am using both Pathbase like the example and even if i am using static it's makes the same error.
startup.cs :
services.AddMultiTenant
await next.Invoke();
});
and AccountController:
private readonly ITenantInfo _tenantInfo;
public AccountController(
UserManager
}
Login method POST: var t = _tenantInfo; var result = await _signInManager.PasswordSignInAsync(model.Username, model.Password, model.RememberLogin, lockoutOnFailure: true);
if you need i will upload zip file of the project i just took the example and added this to the AccountController. Thanks.
i am getting this error when trying to get ITenantInfo from DI inside this controller with code authorization workflow InvalidOperationException: Unable to resolve service for type 'Finbuckle.MultiTenant.ITenantInfo' while attempting to activate 'IdentityServerHost.Quickstart.UI.AccountController'.
Thanks.