diff --git a/src/OAuth2/AbstractProvider.php b/src/OAuth2/AbstractProvider.php index c80dde1..22cf0fd 100644 --- a/src/OAuth2/AbstractProvider.php +++ b/src/OAuth2/AbstractProvider.php @@ -32,7 +32,7 @@ public function user() throw new InvalidStateException(); } - $response = $this->getAccessTokenResponse($this->getCode()); + $response = $this->getAccessToken($this->getCode()); $user = $this->mapUserToObject($this->getUserByToken( $token = $this->parseAccessToken($response)