The Laravel log file reports a lot of errors:
production.ERROR: The resource owner or authorization server denied the request. {"exception":"[object] (League\\OAuth2\\Server\\Exception\\OAuthServerException(code: 9): The resource owner or authorization server denied the request. at /data/www/laravel/vendor/league/oauth2-server/src/Exception/OAuthServerException.php:223)
It can be solved by adding the following error report ignore items in the App\Exceptions\Handler.php
file:
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
"\League\OAuth2\Server\Exception\OAuthServerException",
];