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 f52201e commit 65e7cb8
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 @@ -56,14 +56,4 @@ protected function mapUserToObject(array $user)
'email' => null, 'avatar' => $user['avatar_image']['url'],
]);
}

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

0 comments on commit 65e7cb8

Please sign in to comment.