Authentication using the httpNodeMiddleware in the settings.js file

Has anyone successfully implemented authentication through the httpNodeMiddleware, by editing the settings.js file (Basic authentication or authentication using express)?

Yes, many. #for example, FlowFuse uses an authentication middleware (SSO and Non SSO logins) for authenticating users in Node-RED

A quick search on google reveals Node-RED authentication with JWT –