Closed lukaslentner closed 7 years ago
I think in OAuth2\Controller\ResourceController there is an error in line 83
OAuth2\Controller\ResourceController
// Check token expiration (expires is a mandatory paramter) if (!$token = $this->tokenStorage->getAccessToken($token_param)) { $response->setError(401, 'invalid_token', 'The access token provided is invalid'); } elseif (!isset($token["expires"]) || !isset($token["cid"])) { <<<<<<<<<<<<<<<<<< $response->setError(401, 'malformed_token', 'Malformed token (missing "expires")'); } elseif (time() > $token["expires"]) {
I think it should not ask for cid but for client_id as this is the right property name for the client id in a access token...
Am I missing something?
Bye Lukas
Sorry, my own mistake!
I think in
OAuth2\Controller\ResourceController
there is an error in line 83I think it should not ask for cid but for client_id as this is the right property name for the client id in a access token...
Am I missing something?
Bye Lukas