Hello, I’ve found a small typo. Page 97.
app.use(basicAuth(findUser.byCredentials));
app.use(basicAuth(findUserbyCredentials));