public ActionResult Authorize() { OAuthParameters parameters = BuildParameters(); // build the token for unauthorized requests and generate the url GetUnauthorizedRequestToken(parameters); string authorizationUrl = OAuthUtil.CreateUserAuthorizationUrl(parameters); // store the parameters temporarily and redirect to google for authorization SaveParametersTokens(parameters); Response.Redirect(authorizationUrl); return(View()); }