Before authenticating the user via username and password it should be checked if the user is blocked.

see \Drupal\user\Controller\UserAuthenticationController::login and \Drupal\user\Controller\UserAuthenticationController::userIsBlocked

    if ($this->userIsBlocked($credentials['name'])) {
      throw new BadRequestHttpException('The user has not been activated or is blocked.');
    }

Comments

fdyckhoff created an issue. See original summary.

e0ipso’s picture

Status: Active » Closed (duplicate)

This was fixed as part of #2841087: Array access in password grant endpoint not working.

Thanks for reporting!