diff --git a/src/Grant/ClientCredentialsGrant.php b/src/Grant/ClientCredentialsGrant.php index 6464722d..8a2ed402 100644 --- a/src/Grant/ClientCredentialsGrant.php +++ b/src/Grant/ClientCredentialsGrant.php @@ -107,9 +107,9 @@ class ClientCredentialsGrant extends AbstractGrant } // Save everything - $session->save($this->server->getStorage('session')); + $session->save(); $accessToken->setSession($session); - $accessToken->save($this->server->getStorage('access_token')); + $accessToken->save(); $this->server->getTokenType()->setSession($session); $this->server->getTokenType()->setParam('access_token', $accessToken->getId());