jenkinsci / jenkinsci/active-directory-plugin
[JENKINS-46646] Active Directory Auth: Logging in with both username and email creates two separate accounts.
- Dominant language
- Java
- Stars
- 53
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
We configured Jenkins to use active directory authentication. It is possible to login with the ad username as well as the email adresse of the ad account. However, doing this will create two separate users. This will (almost) never be intended. As it is nice two be able to log in with both options, there should only be one jenkins account associated with each ad account.
---
Originally reported by
mcnetic, imported from: Active Directory Auth: Logging in with both username and email creates two separate accounts.
fbelzunc
Raw content of original issue
We configured Jenkins to use active directory authentication. It is possible to login with the ad username as well as the email adresse of the ad account. However, doing this will create two separate users. This will (almost) never be intended. As it is nice two be able to log in with both options, there should only be one jenkins account associated with each ad account.
Contributor guide
Research direction
Start in the active-directory-plugin authentication and account-creation flow, then reproduce logging in with the same Active Directory account by username and email. Trace how each login identity is associated with a Jenkins user. Done means both login forms resolve to one Jenkins account, with coverage for the duplicate-account case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100