Skip to content

Commit 1ab62d7

Browse files
committed
2 parents 626a0d7 + 4b25424 commit 1ab62d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ResponseValidator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,12 @@ export class ResponseValidator {
237237
_processCode(state, response) {
238238
var request = {
239239
client_id: state.client_id,
240+
client_secret: this._settings.client_secret,
240241
code : response.code,
241242
redirect_uri: state.redirect_uri,
242243
code_verifier: state.code_verifier,
243244
};
244-
245+
245246
return this._tokenClient.exchangeCode(request).then(tokenResponse => {
246247

247248
for(var key in tokenResponse) {

0 commit comments

Comments
 (0)