I had the same issue with identity framework. In earlier version the Email address is not part of the registration process. And the identity implementation validating username field as unique and authenticate users against username and password. But allowed us to manage and update 'IUserStore' properties in order to support unique emails and username field to be able to insert email address (non AlphanumericUserNames). But this was not in the visual studio MVC individual user accounts template, which we have to add our self.
The code we have to add to ApplicationUserManager.cs, sample code included in the following NuGet package.
Install-Package Microsoft.AspNet.Identity.Samples -Version 2.0.0-beta2
-Pre
manager.UserValidator = new UserValidator<ApplicationUser>(manager)
{
AllowOnlyAlphanumericUserNames = false,
RequireUniqueEmail = true
};
In version 2.x, identity framework included email field as unique field, also added all required codes to the visual studio MVC individual user accounts template under App_Start >> IdentityConfig. Further more, removed the username part from the UI and kept it back-end only.
But the authentication mechanism hasn't change, which is still using username and password for validation. The change only happened when you registering the user, email address will be inserted into username field which used when authenticating users.
According to my understanding there isn't any out of the box identity framework support for authenticating users with email and password at the moment. You have to insert email into username field when registering users.