We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f21f31a commit c7f870bCopy full SHA for c7f870b
1 file changed
src/Controllers/BaseController.php
@@ -128,7 +128,7 @@ protected function configureOAuth2Auth(&$headers)
128
$this->config->getClientId() . ':' . $this->config->getClientSecret()
129
),
130
],
131
- Request\Body::form(['grant_type' => 'client_credentials'])
+ 'grant_type=client_credentials'
132
);
133
134
if ($response->code < 200 || $response->code > 299 || !isset($response->body->access_token)) {
0 commit comments