title: Asp.Net Identity external login issue
body: <p>I have a problem using Asp.Net Identity.</p>
  
  <p>I have an ASP.NET MVC 5 application where there is an ApplicationUser class which is inherited from IdentityUser class. I am not using separate AuthenticationContext, I have just one DbContext.</p>
  
  <p>I am working on the website authentication and I want to use Facebook login in my App.</p>
  
  <p>I applied the necessary settings and when I click on the facebook button I get this exception in the AccountController.ExternalLoginCallback method.</p>
  
  <blockquote>
  <pre><code>&gt; Invalid column name 'User_Id'.    Description: An unhandled exception
  &gt; occurred during the execution of the current web request. Please
  &gt; review the stack trace for more information about the error and where
  &gt; it originated in the code. 
  &gt; 
  &gt;  Exception Details: System.Data.SqlClient.SqlException: Invalid column
  &gt; name 'User_Id'.
  &gt; 
  &gt; Source Error: 
  &gt; 
  &gt; 
  &gt; 
  &gt; Line 220: Line 221:            // Sign in the user with this external
  &gt; login provider if the user already has a login Line 222:           
  &gt; var user = await UserManager.FindAsync(loginInfo.Login); Line 223:    
  &gt; if (user != null) Line 224:            {
  </code></pre>
  </blockquote>
  
  <p>It's really strange for me because there is not user_id column in database.
  I use Code First Migration and I know when a class has a complex property but does not have the foreign key property the Code First Migration will generate foreign key property in the db.</p>
  
  <p>So, I am lost, I tried to debug it but I dont have any result.</p>
  
  <p>Anybody can help me? </p>