# Authenticate against LDAP in Node Red

**URL:** <https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201>\
**Category:** General\
**Created:** [13 June 2019 21:42 UTC](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201 "2019-06-13T21:42:29Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![sensei\_ep](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sensei_ep/32/40799_2.png) [@sensei\_ep](https://discourse.nodered.org/u/sensei_ep)\
**Post date:** [26 November 2026 19:13 UTC](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201/21 "2026-11-26T19:13:34Z")

</div>

I’ve used this pattern with Node-RED and AD. For a simple credential check, binding as the user works, but I’d avoid sending the password through Debug nodes or storing it in flow context. Use LDAPS with the CA chain installed in the container, and make sure the certificate hostname matches the URL. Port 636 is implicit TLS, while StartTLS is configured differently.

For anything sensitive, I prefer putting authentication behind a proxy or captive portal and letting Node-RED receive a verified identity. A security assessment from [\> essenz](https://essenz.com/articles/does_linux_flavor_matter.html)

can also help spot certificate, logging, and patching weaknesses before production.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [26 November 2026 19:35 UTC](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201/22 "2026-11-26T19:35:42Z")

</div>

> [@sensei\_ep](#):
>
> putting authentication behind a proxy

Using an external proxy with a suitable IdM tool is always the better option.

---

<div class="post-metadata">

**Author:** ![Aaqu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aaqu/32/101407_2.png) [@Aaqu](https://discourse.nodered.org/u/Aaqu)\
**Post date:** [26 November 2026 21:12 UTC](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201/23 "2026-11-26T21:12:46Z")

</div>

ldapjs is deprecated

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 November 2026 08:00 UTC](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201/24 "2026-11-27T08:00:14Z")

</div>

Closed on 27 November 2026 08:00 UTC

This topic was automatically closed after 12 hours. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/authenticate-against-ldap-in-node-red/12201.md?page=1)
