Skip to content

Commit

Permalink
jumbojett#413 requestTokenExchange fixed to support PHP8.x
Browse files Browse the repository at this point in the history
Changed parameter jumbojett#2 of http_build_query to empty string
  • Loading branch information
mstrey committed Apr 12, 2024
1 parent 7be38be commit 0e0a298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenIDConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ public function requestTokenExchange(string $subjectToken, string $subjectTokenT
}

// Convert token params to string format
$post_params = http_build_query($post_data, null, '&', $this->encType);
$post_params = http_build_query($post_data, '', '&', $this->encType);

return json_decode($this->fetchURL($token_endpoint, $post_params, $headers), false);
}
Expand Down

0 comments on commit 0e0a298

Please sign in to comment.