diff --git a/src/OAuth2/Grant/RefreshToken.php b/src/OAuth2/Grant/RefreshToken.php index 46d9103a..ee941554 100644 --- a/src/OAuth2/Grant/RefreshToken.php +++ b/src/OAuth2/Grant/RefreshToken.php @@ -102,7 +102,7 @@ class RefreshToken implements GrantTypeInterface { } // Validate refresh token - $sessionId = $this->authServer->getStorage('client')->validateRefreshToken( + $sessionId = $this->authServer->getStorage('session')->validateRefreshToken( $authParams['refresh_token'], $authParams['client_id'] ); @@ -129,4 +129,4 @@ class RefreshToken implements GrantTypeInterface { ); } -} \ No newline at end of file +}