Skip to content

Commit f3d879f

Browse files
David GrajalDavid Grajal
David Grajal
authored and
David Grajal
committed
fix Scope issue
1 parent 88b17cb commit f3d879f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

LinkedInStrategy.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public function __construct($strategy, $env){
8282
*/
8383
public function request(){
8484
$params = array(
85-
'oauth_callback' => $this->strategy['oauth_callback']
85+
'oauth_callback' => $this->strategy['oauth_callback'],
86+
'scope' => $this->strategy['scope'],
8687
);
8788

8889
$results = $this->_request('POST', $this->strategy['request_token_url'], $params);
@@ -234,4 +235,4 @@ private function _request($method, $url, $params = array(), $useauth = true, $mu
234235
}
235236
}
236237

237-
}
238+
}

0 commit comments

Comments
 (0)