class Doorkeeper::OAuth::PasswordAccessTokenRequest

def validate_client

Other tags:
    See: https://datatracker.ietf.org/doc/html/rfc6749#section-4.3 -
def validate_client
  if Doorkeeper.config.skip_client_authentication_for_password_grant
    client.present? || (!parameters[:client_id] && credentials.blank?)
  else
    client.present?
  end
end