Skip to content

Commit

Permalink
add client id/secret to the MS live request body
Browse files Browse the repository at this point in the history
for more details see #2002
  • Loading branch information
BenoitDuffez committed Dec 2, 2024
1 parent 6340a4b commit e4dec6d
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 e4dec6d

Please sign in to comment.