Skip to content

Commit e4dec6d

Browse files
committed
add client id/secret to the MS live request body
for more details see #2002
1 parent 6340a4b commit e4dec6d

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)