It's strange to me that when using server to server Auth based on client_id / client_secret, the Access token is generated with an expiry datetime persisted in DB and present in the Token but not validated by the server.
In BearerTokenValidator::validateAuthorization only revokation is validated:
// Check if token has been revoked
if ($this->accessTokenRepository->isAccessTokenRevoked($claims->get('jti'))) {
throw OAuthServerException::accessDenied('Access token has been revoked');
}
Is it expected?