Hello i am trying to learn .net and umbraco so excuse my lack of knowledge. I am trying to configure umrbaco with asp .net identity that will be help in a seperate schema in my database.
As of now i have made an extention method that is called from ConfigureServices in startup
i have tried several iterations but havent managed to make it work. While i am able to register users successfully i cant manage to successfully sign in ever!
this is my sign in method for reference:
private async Task<bool> SignIn(AuthenticationUser user, string password)
{
var result = await _signInManager.CheckPasswordSignInAsync(user, password, true);
if (result.Succeeded)
{
await _signInManager.SignInAsync(user, isPersistent: false);
return true;
}
return result.Succeeded;
}
any suggestions on how i can make it work as intended?
Configure Asp .Net Identity in Umbraco 12 project
Hello i am trying to learn .net and umbraco so excuse my lack of knowledge. I am trying to configure umrbaco with asp .net identity that will be help in a seperate schema in my database.
As of now i have made an extention method that is called from ConfigureServices in startup
Inside the extention method is where i am trying to configure asp.net identity, like this:
i have tried several iterations but havent managed to make it work. While i am able to register users successfully i cant manage to successfully sign in ever!
this is my sign in method for reference:
any suggestions on how i can make it work as intended?
Did you manage?
is working on a reply...