Skip to content
Snippets Groups Projects
Unverified Commit 71100b3c authored by Thijs Kinkhorst's avatar Thijs Kinkhorst Committed by GitHub
Browse files

Merge pull request #934 from pradtke/fix_933

Fix for #933
parents 8a400e17 428eddf9
No related branches found
No related tags found
No related merge requests found
......@@ -172,9 +172,6 @@ class Consumer
$data_req = \OAuthRequest::from_consumer_and_token($this->consumer, $accessToken, "GET", $url, null);
$data_req->sign_request($this->signer, $this->consumer, $accessToken);
if (is_array($opts)) {
$opts = stream_context_create($opts);
}
$data = \SimpleSAML\Utils\HTTP::fetch($data_req->to_url(), $opts);
return json_decode($data, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment