Hello Friends I am trying connect my local app using oauth authentication. But When I click it is neither redicting to mailchimp authentication site nor showing any errors or exceptions.
I have followed below steps:
I have created a sample app for it. mentioned
public function __construct() {
//basically, your redirect_url
$base = '192.168.3.57'; //your host
$path = '/Oauth/complete.php'; //the path on your host
$client_id = '376179255358'; //client_id from creating app in MC (see README)
$client_secret = '5d2afe4af54d32bb0bd4229ece4db86b'; //client_secret from creating app in MC (see README)
$config = array('client_id'=>$client_id, 'client_secret'=>$client_secret,
'authorize_uri'=>'https://login.mailchimp.com/oauth2/authorize',
'access_token_uri'=>'https://login.mailchimp.com/oauth2/token',
'redirect_uri'=>'http://'.$base.$path,
'cookie_support'=>false, 'file_upload'=>false,
'token_as_header'=>true,
'base_uri'=>'https://login.mailchimp.com/oauth2/'
);
parent::__construct($config);
}
but not working
Step 1: Your application begins the authorization process by redirecting the user to the authorize_uri
- this is a GET request
- response_type=code, your client_id, and the *urlencoded* redirect_uri are included
Hello Friends I am trying connect my local app using oauth authentication. But When I click it is neither redicting to mailchimp authentication site nor showing any errors or exceptions.
I have followed below steps:
but not working Step 1: Your application begins the authorization process by redirecting the user to the authorize_uri
authorize_uri = https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=635959587059&redirect_uri=http%3A%2F%2F192.168.1.8%2Foauth%2Fcomplete.php