Skip to content

Commit

Permalink
Merge pull request #2023 from BenoitDuffez/bduffez/live-add-client-id…
Browse files Browse the repository at this point in the history
…-secret

add client id/secret to the MS live request body
  • Loading branch information
XWB authored Dec 2, 2024
2 parents 6340a4b + e4dec6d commit f2e3f48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OAuth/ResourceOwner/GenericOAuth2ResourceOwner.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ public function getAccessToken(HttpRequest $request, $redirectUri, array $extraP
'code' => $request->query->get('code'),
'grant_type' => 'authorization_code',
'redirect_uri' => $redirectUri,
'client_id' => $this->options['client_id'],
'client_secret' => $this->options['client_secret'],
], $extraParameters);

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

0 comments on commit f2e3f48

Please sign in to comment.