diff --git a/src/OpenIDConnectClient.php b/src/OpenIDConnectClient.php index 6aa80b17..ecd69751 100644 --- a/src/OpenIDConnectClient.php +++ b/src/OpenIDConnectClient.php @@ -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); }