Problems with the SignInManager method PasswordSignInAsync

Oscar Widegren 0 Reputation points

Hello, I have a server-side Blazor application using framework net6.0. I do try to implement an login page. I have implemented an AuthenticationService and i am using the SignInManager. I can login and i am using the PasswordSignInAsync method. But at a successful log in atempt do the PasswordSignInAsync method throw a System.InvalidOperationException. If the log in atempt failed non exception is thrown. What can i do, to fix the issue?

best regards!

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
653 questions
Microsoft Technologies based on the .NET software framework.
3,613 questions
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,494 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Oscar Widegren 0 Reputation points

    I might have found a solution. It seems to work with the CheckPasswordSignInAsync().