I released an app using the Google Mirror API. Now I am trying to set up a beta app at a new web address .info as opposed to .com. However with I authorize my app from the .info address I get redirected to the .com. I have triple checked the address in my code and my client ids and secrets. What could cause this? I am going to attach a screen shot of my API settings even though it looks like a top secret government document about aliens or something.
This is where the client is called from.
$client = new Google_Client();
$client->setApplicationName($app_name);
// These are set in config.php
$client->setClientId($api_client_id);
$client->setClientSecret($api_client_secret);
$client->setDeveloperKey($api_simple_key);
$client->setRedirectUri($base_url."/oauth2callback.php");
$client->setScopes(array(
'https://www.googleapis.com/auth/glass.timeline',
'https://www.googleapis.com/auth/glass.location',
'https://www.googleapis.com/auth/userinfo.profile'));
I know that the $base_url, $api_client_key and $api_client_secret are correct.