When using and Invalid token a 401 error is thrown (but not catched). As a result drupal default error page is returned and two errors are rasised in the log.
League\OAuth2\Server\Exception\OAuthServerException: The resource owner or authorization server denied the request. en League\OAuth2\Server\Exception\OAuthServerException::accessDenied() (linea 223 de /var/www/html/xxx/vendor/league/oauth2-server/src/Exception/OAuthServerException.php).
Symfony\Component\HttpKernel\Exception\HttpException: Access token could not be verified en Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider->authenticate() (linea 81 de /var/www/html/xxx/web/modules/contrib/simple_oauth/src/Authentication/Provider/SimpleOauthAuthenticationProvider.php).
Closed: duplicate
4.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.