Azure Ad authentication for Enterprise Application using NodeJs

I am trying to implement azuread authentication for all company group users, my admin has provided me with the tenant and client id details, which shows me as enterprise application in azure ad, When I am trying to call acquireTokenWithUsernamePassword its giving me error.

Error: Get Token request returned http error: 401 and server response: {"error":"invalid_client","error_description":"AADSTS70002: The request body must contain the following parameter: 'client_secret or client_assertion'