Solved
Forum Discussion
Nav
7 years agoAce
Hi TariqHussain,
Thanks for your reply. I used below
$aurl = "https://community.xxxxx.com/auth/oauth2/authorize?client_id=xxxxxxx&response_type=code&redirect_uri=http://redirect.xxx.com/getaccessToken";
print_r($aresponse = drupal_http_request($aurl, array('headers' => array('client_id' => 'xxxx','Content-Type' => 'application/json' ))));
exit;I received
stdClass Object ( [code] => -110 [error] => Connection timed out )
Did I miss anything and what is the redirect Url?
Thanks.
TariqHussain
7 years agoBoss
Nav-
You can get the Redirect URL from the app which you have created on community.
Community Admin > System > API Apps