Feature: Support for multiple email addresses synced from LDAP #5772

Open
opened 2025-11-02 06:35:27 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @stertingen on GitHub (Jul 23, 2020).

  • Gitea version (or commit ref): 1.12.2 built with GNU Make 4.2.1, go1.14.4 : bindata, sqlite, sqlite_unlock_notify
  • Git version: 2.24.3
  • Operating system: official docker container
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

We have a central LDAP server for our users who may have multiple email addresses, which are also stored on the LDAP server. I'd like to propose that the LDAP authentication source shall look for multiple email addresses of that user and add these to the user profile.

Each user should be able to add and remove more addresses on their own, but addresses synced from the LDAP server should only be removable by removing them from the LDAP server.

Originally created by @stertingen on GitHub (Jul 23, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.2 built with GNU Make 4.2.1, go1.14.4 : bindata, sqlite, sqlite_unlock_notify - Git version: 2.24.3 - Operating system: official docker container - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description We have a central LDAP server for our users who may have multiple email addresses, which are also stored on the LDAP server. I'd like to propose that the LDAP authentication source shall look for multiple email addresses of that user and add these to the user profile. Each user should be able to add and remove more addresses on their own, but addresses synced from the LDAP server should only be removable by removing them from the LDAP server.
GiteaMirror added the type/proposaltopic/authentication labels 2025-11-02 06:35:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5772