Solved
Forum Discussion
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
Thanks. Do we need to pass user credential along with this request. If so, what is the format please. Because right now I am getting lithium login page.
Related Content
- 3 days ago
- 4 years ago
- 8 years ago