Thank you all for your great answers!
Spent quite some time searching for a solution, and on my side I was making an elementary mistake: I was calling bodyParser.json()
from within the function :
app.use(['/password'], async (req, res, next) => {_x000D_
bodyParser.json()_x000D_
/.../_x000D_
next()_x000D_
})
_x000D_
I just needed to do app.use(['/password'], bodyParser.json())
and it worked...