I've googled and can't find anywhere a list of possible errors, e.g. "Email xyz is already taken." (I know that is one definitely). "Name xyz is already taken." is another (for the username). I'm using Microsoft ASP.NET Identity 2.0, not version 3 on Github. They seem to be just simple strings and don't seem to have error codes or anything. I've had a look through the code on Codeplex also and there doesn't seem to be a clear list anywhere, just some vague fragments in unit tests.
Asked
Active
Viewed 7,504 times
11
-
Possible duplicate of http://stackoverflow.com/questions/19961648/how-to-localize-asp-net-identity-username-and-password-error-messages/22573802#22573802. – Danny Fardy Jhonston Bermúdez Sep 13 '15 at 23:00
1 Answers
16
This code was previously on Codeplex. Source code for Identity V2 now been moved to https://github.com/aspnet/AspNetIdentity
Here is the file that lists the IdentityResult errors: