public ActionResult GoogleLogin(string returnUrl) { var properties = new AuthenticationProperties { RedirectUri = Url.Action("GoogleLoginCallback", new { returnUrl = returnUrl }) }; AuthManager.Challenge(properties, "Google"); return(new HttpUnauthorizedResult()); }