title: C# asp.net external authentication and HostAuthentication filter for mvc (not webapi) controller
body: <p>i have spent a lot of time trying to find Host Authentication filter for mvc controller, but i found nothing.</p>
  
  <p>I want to implement external login with Google. It was fine if i use webapi controller, but now i would like to do the same with mvc controller.
  The problem (i suppose) is in HostAuthentication.</p>
  
  <pre><code>    [OverrideAuthentication]
      [System.Web.Http.HostAuthentication(DefaultAuthenticationTypes.ExternalCookie)]
      [AllowAnonymous]
      [Route("externallogin", Name = "ExternalLogin")]
      [HttpGet]
      public ActionResult ExternalLogin(string provider, string error = null)
  </code></pre>
  
  <p>Is there any HostAuthentication dedicated for mvc controller?</p>