[PR #268] [CLOSED] feat: Add ldap authentication #1218

Open
opened 2025-10-09 19:11:04 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/268
Author: @astenmco
Created: 6/29/2022
Status: Closed

Base: masterHead: master


📝 Commits (10+)

  • 5ffef61 Initial commit
  • c7ffc06 Fix dotenv path in knexfile
  • 517a508 Fix security vulnerabilities, update dependencies
  • 562d855 Add client demo
  • 7bd12cd Update dependencies
  • 6eb431f Mute socket messages in production, fix max-len, update dependencies
  • d24c9a7 Docker, update readme, update dependencies
  • 0ff5a23 Fix repository language, update readme
  • 530e4c2 Fix client lint script, update dependencies
  • 18f0cc5 Markdown support in card description and comment, fixes for mobile devices, update dependencies

📊 Changes

18 files changed (+17039 additions, -7779 deletions)

View changed files

📝 client/package-lock.json (+11075 -6208)
📝 client/package.json (+12 -1)
📝 client/src/components/Login/Login.jsx (+5 -0)
📝 client/src/components/UserEmailEditStep/UserEmailEditStep.jsx (+5 -0)
📝 client/src/components/UserPasswordEditStep/UserPasswordEditStep.jsx (+5 -0)
📝 client/src/locales/en/core.js (+1 -0)
📝 client/src/locales/en/login.js (+1 -0)
📝 client/src/locales/fr/core.js (+1 -0)
📝 client/src/locales/fr/login.js (+1 -0)
📝 package-lock.json (+4577 -380)
📝 package.json (+11 -1)
📝 server/.env.sample (+1 -0)
📝 server/api/controllers/access-tokens/create.js (+98 -11)
📝 server/api/controllers/users/update-email.js (+38 -27)
📝 server/api/controllers/users/update-password.js (+34 -25)
📝 server/api/controllers/users/update-username.js (+2 -1)
📝 server/package-lock.json (+1169 -1124)
📝 server/package.json (+3 -1)

📄 Description

Here is how the ldap authentication feature works:

• To activate LDAP authentication, you must enter the URL of the ldap server in the /server/.env file with the LDAP_SERVER variable.
example: LDAP_SERVER=db.debian.org:389
If this value is not provided in this file, Planka will work with normal authentication.

• If this authentication option is activated, it is impossible to modify your password and email from Planka. Indeed, this information must be that of the active directory.

• In the event of an access problem with the ldap server (server is down), only the admin account can connect without going through this ldap server. (This account must be created manually, with email=admin@admin.admin or username=admin.)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/268 **Author:** [@astenmco](https://github.com/astenmco) **Created:** 6/29/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`5ffef61`](https://github.com/plankanban/planka/commit/5ffef61fe7e17912097c9fc7fb8472ee641fd21f) Initial commit - [`c7ffc06`](https://github.com/plankanban/planka/commit/c7ffc0652a6366d2f558ed6d8dfe176bd2b1ee0b) Fix dotenv path in knexfile - [`517a508`](https://github.com/plankanban/planka/commit/517a508ccec8613968ab36b025c75fb101d5864c) Fix security vulnerabilities, update dependencies - [`562d855`](https://github.com/plankanban/planka/commit/562d855d460ed19d2641966ea80d43316100b803) Add client demo - [`7bd12cd`](https://github.com/plankanban/planka/commit/7bd12cd8b81cfab6c2af3ebd3f75a076d091a2df) Update dependencies - [`6eb431f`](https://github.com/plankanban/planka/commit/6eb431f72161071e30253f2ef3d8fe9f3de035b9) Mute socket messages in production, fix max-len, update dependencies - [`d24c9a7`](https://github.com/plankanban/planka/commit/d24c9a79680dfe02642d9e6e085ee4115ba78aef) Docker, update readme, update dependencies - [`0ff5a23`](https://github.com/plankanban/planka/commit/0ff5a23b6d1df03adbe442d5f2828e96480c9e20) Fix repository language, update readme - [`530e4c2`](https://github.com/plankanban/planka/commit/530e4c26ee9d408ce8743d6972f73dd16dd9b85b) Fix client lint script, update dependencies - [`18f0cc5`](https://github.com/plankanban/planka/commit/18f0cc59ddba661a8458c64e24b747e107027c3e) Markdown support in card description and comment, fixes for mobile devices, update dependencies ### 📊 Changes **18 files changed** (+17039 additions, -7779 deletions) <details> <summary>View changed files</summary> 📝 `client/package-lock.json` (+11075 -6208) 📝 `client/package.json` (+12 -1) 📝 `client/src/components/Login/Login.jsx` (+5 -0) 📝 `client/src/components/UserEmailEditStep/UserEmailEditStep.jsx` (+5 -0) 📝 `client/src/components/UserPasswordEditStep/UserPasswordEditStep.jsx` (+5 -0) 📝 `client/src/locales/en/core.js` (+1 -0) 📝 `client/src/locales/en/login.js` (+1 -0) 📝 `client/src/locales/fr/core.js` (+1 -0) 📝 `client/src/locales/fr/login.js` (+1 -0) 📝 `package-lock.json` (+4577 -380) 📝 `package.json` (+11 -1) 📝 `server/.env.sample` (+1 -0) 📝 `server/api/controllers/access-tokens/create.js` (+98 -11) 📝 `server/api/controllers/users/update-email.js` (+38 -27) 📝 `server/api/controllers/users/update-password.js` (+34 -25) 📝 `server/api/controllers/users/update-username.js` (+2 -1) 📝 `server/package-lock.json` (+1169 -1124) 📝 `server/package.json` (+3 -1) </details> ### 📄 Description Here is how the ldap authentication feature works: • To activate LDAP authentication, you must enter the URL of the ldap server in the ` /server/.env` file with the `LDAP_SERVER ` variable. example: `LDAP_SERVER=db.debian.org:389` If this value is not provided in this file, Planka will work with normal authentication. • If this authentication option is activated, it is impossible to modify your password and email from Planka. Indeed, this information must be that of the active directory. • In the event of an access problem with the ldap server (server is down), only the admin account can connect without going through this ldap server. (This account must be created manually, with `email=admin@admin.admin` or `username=admin`.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 19:11:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1218