IdentityManager / IdentityManager.AspNetIdentity

ASP.NET Identity support for Thinktecture IdentityManager
Apache License 2.0
60 stars 51 forks source link

AspNetIdentityManagerService : CreateUserAsync : UserManager.CreateUserAsync : RequireUniqueEmail error #30

Open BruceHunter opened 8 years ago

BruceHunter commented 8 years ago

If you set the following configuration for the AspNetIdentity UserManager.

            manager.UserValidator = new UserValidator<User, string>(manager)
            {
                AllowOnlyAlphanumericUserNames = false,
                RequireUniqueEmail = true
            };

If you call the method _identityManagerService.CreateUserAsync().

with RequireUniqueEmail = true

You will get an 401 Result Error about Email can not be null or empty message.

The workaround is to set RequireUniqueEmail = false.

Neilski commented 7 years ago

I have, perhaps, discovered this project a little late. Is this project still active, are outstanding issues likely to be fixed? No problem if not, just interested to know.