title: Where is login action for ASP.NET Web API 2, Owin, and Identity authentication
body: <p>I am using token based authentication for my application whose client side is angularjs, by following <a href="http://bitoftech.net/2014/06/01/token-based-authentication-asp-net-web-api-2-owin-asp-net-identity/" rel="nofollow">this tutorial</a></p>
  
  <p>I can see that configuration is done in Startup.Auth.cs via this code snippet</p>
  
  <pre><code>        OAuthOptions = new OAuthAuthorizationServerOptions
          {
              TokenEndpointPath = new PathString("/Token"),
              Provider = new ApplicationOAuthProvider(PublicClientId),
              AuthorizeEndpointPath = new PathString("/api/Account/ExternalLogin"),
              AccessTokenExpireTimeSpan = TimeSpan.FromDays(14),
              AllowInsecureHttp = true
          };
  </code></pre>
  
  <p>But I am looking for where is the Login Action, I suppose it should be somewhere in side AccountController.</p>
  
  <p>Once user is authenticated I will be checking regarding its user role and assign some session variables</p>
  
  <p>Where can I do this initial works? </p>