public ActionResult GetGoogleDriveAuthAsync(string devicePlanId) { PlatformGoogle pg = new PlatformGoogle(_env.ContentRootPath); pg.AuthRequestUrl(Request.Host.Value); return(Redirect(pg.AuthRequestUrl(Request.Host.Value) + "&state=" + WebUtility.UrlEncode(devicePlanId))); }