public static function getAuthUrl($subdomain, array $options, $domain = 'zendesk.com')
{
$queryParams = ['response_type' => 'code', 'client_id' => null, 'state' => null, 'redirect_uri' => null, 'scope' => 'read write'];
$options = array_merge($queryParams, $options);
$oAuthUrl = "https://{$subdomain}.{$domain}/oauth/authorizations/new?";
// Build query and remove empty values
$oAuthUrl .= http_build_query(array_filter($options));
return $oAuthUrl;
}