Skip to content

Commit f2e3f48

Browse files
authored
Merge pull request #2023 from BenoitDuffez/bduffez/live-add-client-id-secret
add client id/secret to the MS live request body
2 parents 6340a4b + e4dec6d commit f2e3f48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OAuth/ResourceOwner/GenericOAuth2ResourceOwner.php

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ public function getAccessToken(HttpRequest $request, $redirectUri, array $extraP
9393
'code' => $request->query->get('code'),
9494
'grant_type' => 'authorization_code',
9595
'redirect_uri' => $redirectUri,
96+
'client_id' => $this->options['client_id'],
97+
'client_secret' => $this->options['client_secret'],
9698
], $extraParameters);
9799

98100
$response = $this->doGetTokenRequest($this->options['access_token_url'], $parameters);

0 commit comments

Comments
 (0)