public IHttpActionResult Authorize()
 {
     var retVal = string.Empty;
     if (isSubdomainSet)
     {
         var zdo = new ZendeskOAuth(_configuration);
         retVal = zdo.getLoginURL();
     }
     return Ok(new[] { retVal });
 }
 public IHttpActionResult Authorize()
 {
     var retVal = string.Empty;
     if (isSubdomainSet && Request != null && RequestContext != null)
     {
         _configuration["redirect_uri"] = string.Format(_configuration["redirect_uri"], new Uri(Request.RequestUri, RequestContext.VirtualPathRoot));
         var zdo = new ZendeskOAuth(_configuration);
         retVal = zdo.getLoginURL();
     }
     return Ok(new[] { retVal });
 }