{"id":16883337,"url":"https://github.com/hardillb/node-red-contrib-ldap-auth","last_synced_at":"2025-07-03T18:32:29.633Z","repository":{"id":31845980,"uuid":"35413171","full_name":"hardillb/node-red-contrib-ldap-auth","owner":"hardillb","description":"A Node-RED authentication plugin that uses LDAP as the backend user store.","archived":false,"fork":false,"pushed_at":"2022-11-10T12:48:49.000Z","size":40,"stargazers_count":8,"open_issues_count":1,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-12T06:19:51.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardillb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["hardillb"]}},"created_at":"2015-05-11T09:03:37.000Z","updated_at":"2023-08-11T09:06:55.000Z","dependencies_parsed_at":"2022-07-08T01:20:43.888Z","dependency_job_id":null,"html_url":"https://github.com/hardillb/node-red-contrib-ldap-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardillb/node-red-contrib-ldap-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-contrib-ldap-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-contrib-ldap-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-contrib-ldap-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-contrib-ldap-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardillb","download_url":"https://codeload.github.com/hardillb/node-red-contrib-ldap-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-contrib-ldap-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261373283,"owners_count":23148914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:11:17.052Z","updated_at":"2025-07-03T18:32:29.596Z","avatar_url":"https://github.com/hardillb.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hardillb"],"categories":[],"sub_categories":[],"readme":"# Node-red-contrib-ldap-auth\n\nThis is a Node-RED authentication plugin that uses LDAP as the backend user store.\n\nIt can be installed with:\n\n    npm install -g node-red-contrib-ldap-auth\n\nAnd then to enable it add the following to your settings.js file:\n\n    adminAuth: require('node-red-contrib-ldap-auth').setup({\n      uri:'ldap://url.to.server',\n      base: 'ou=group,o=company.com',\n      filterTemplate: 'mail={{username}}'\n    }),\n\n## Bind Authentication\n\nIf your LDAP server requires authentication before it can search, you can use the ``bind_dn`` and ``bind_pw`` parameters:\n\n    adminAuth: require('node-red-contrib-ldap-auth').setup({\n      uri:'ldap://url.to.server',\n      base: 'ou=group,o=company.com',\n      filterTemplate: 'mail={{username}}',\n      bind_dn: 'cn=authuser,o=company.com',\n      bind_pw: 'yourlittlesecret',\n    }),\n\n## Security Group Filtering\n\nIf your LDAP login needs to be restricted to a specifc group, you can use an advanced ``filterTemplate`` to filter users to a specific group.\n\n```js\nfilterTemplate: '(\u0026(sAMAccountName={{username}})(memberOf=CN=ExampleGroup,OU=Security Groups,OU=Groups,OU=Corp,DC=example,DC=com))',\n````\n\nYou can also combine multiple filters, see https://ldap.com/ldap-filters/.\n * AND Filters `(\u0026(\u003cfirst\u003e)(\u003csecond\u003e)(\u003cthird\u003e))`\n * OR Filters `(|(\u003cfirst\u003e)(\u003csecond\u003e)(\u003cthird\u003e))`\n * Combined Filters `(\u0026(\u003cfirst\u003e)(|(\u003cfirst_or\u003e)(\u003csecond_or\u003e)))` (e.g. filter for multiple groups that should have access)\n\n## Certificate Verification\nIf your LDAP server is not using a verifiable SSL certificate, you can set the ``no_verify_ssl`` parameter to ``true`` (boolean) and it will not validate the connection.\n\n## Anonymous Access\nTo allow anonymous read access to the NodeRed Admin UI, you can set the ``anon_read`` parameter to ``true``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fnode-red-contrib-ldap-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardillb%2Fnode-red-contrib-ldap-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fnode-red-contrib-ldap-auth/lists"}