# Authentication using the httpNodeMiddleware in the settings.js file

**URL:** <https://discourse.nodered.org/t/authentication-using-the-httpnodemiddleware-in-the-settings-js-file/80650>\
**Category:** General\
**Tags:** security\
**Created:** [18 August 2023 15:19 UTC](https://discourse.nodered.org/t/authentication-using-the-httpnodemiddleware-in-the-settings-js-file/80650 "2023-08-18T15:19:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehdichbani](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mehdichbani](https://discourse.nodered.org/u/mehdichbani)\
**Post date:** [18 August 2023 15:19 UTC](https://discourse.nodered.org/t/authentication-using-the-httpnodemiddleware-in-the-settings-js-file/80650/1 "2023-08-18T15:19:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 August 2023 15:53 UTC](https://discourse.nodered.org/t/authentication-using-the-httpnodemiddleware-in-the-settings-js-file/80650/2 "2023-08-18T15:53:48Z")

</div>

Yes, many. #for example, [FlowFuse](https://flowfuse.com/) 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 – davole.com](https://www.davole.com/2019/node-red-authentication-with-jwt/)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 October 2023 15:54 UTC](https://discourse.nodered.org/t/authentication-using-the-httpnodemiddleware-in-the-settings-js-file/80650/3 "2023-10-17T15:54:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
