![Picture of John Erck Picture of John Erck](/graphics/unknown.gif)
John Erck - 2015-02-17 19:56:27 -
In reply to message 2 from Manuel Lemos
I am trying to setup the properties manually. Right now I have it setup as:
$client = new oauth_client_class();
$client->debug = true;
$client->debug_http = true;
$client->server = 'Shopify';
$client->client_id = $GLOBALS['env']->shopify_key;
$client->client_secret = $GLOBALS['env']->shopify_secret;
$client->configuration_file = '../vendor/phpclasses/oauth-api/oauth_configuration.json';
$client->server = 'Shopify';
$client->redirect_uri = 'https://nyclips.abovemarket.com/install';
$client->oauth_version = '2.0';
$client->dialog_url = 'https://nyclips-2.myshopify.com/admin/oauth/authorize?client_id={CLIENT_ID}&scope={SCOPE}&redirect_uri={REDIRECT_URI}&state={STATE}';
$client->access_token_url = 'https://nyclips-2.myshopify.com/admin/oauth/access_token';
However, when I run this code, Safari says, "Can't Open the Page - Too many redirects occurred trying to open https://nyclips.abovemarket.com/install?code=" Pic of error here: https://www.dropbox.com/s/jp52lzy30j8mf3k/Failed%20to%20open%20page.png?dl=0
Am I missing a key configuration parameter?