Skip to content

Commit

Permalink
No need to set grant_type to authorization_code anymore (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Aug 31, 2023
1 parent cee209b commit 8a70ac8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,6 @@ protected function mapUserToObject(array $user)
]);
}

/**
* {@inheritdoc}
*/
protected function getTokenFields($code)
{
return array_merge(parent::getTokenFields($code), [
'grant_type' => 'authorization_code',
]);
}

/**
* Set the user fields to request from Vkontakte.
*
Expand Down

0 comments on commit 8a70ac8

Please sign in to comment.