public ActionResult GoogleCallback(string code) { OAuth2Service.GetToken(code); var account = OAuth2Service.GetProfileInfo(); CurrentUser.Info = account; return(RedirectToAction("Index")); }