SignInManager.PasswordSignInAsync returns success but doesn't authenticate
Closed this issue · 0 comments
Hi,
Downloading this project fresh and attempting to login doesn't work.
AccountController.cs Line:75
When the post login method runs the SignInManager.PasswordSignInAsync
method returns Success
but doesn't "fully" login the user. The switch statement that follows it goes to the SignInStatus.Success
and then Redirects to the returnUrl
. Then the user isn't logged in/authenticated. I attempted to assign the user's User.Identity
to a variable during the login process as seen in the following photo:
A Google search of the issue came up with things like deleting the .v12.suo file, and or the project didn't work on someone's computer, but he tested it on another and it worked.
I don't have the ability to test it on another computer, so I'm here.