DependencyTrack / DependencyTrack/dependency-track

Option to Disable Username/Password Authentication

Open
#4,955 4 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

**Problem:**
We aim to improve the security posture of our Dependency-Track instance by eliminating the option for username/password login. We want to enforce the use of stronger authentication methods such as OpenID Connect.

**Proposed Solution:**
Implement a configuration setting that allows administrators to completely disable username/password-based authentication. When this setting is active, users should only be able to log in via other configured authentication mechanisms (e.g., OpenID Connect).

**Context:**
Disabling traditional username/password login aligns with security best practices and mitigates risks associated with credential compromise.

### Proposed Behavior

Implement a configuration setting that allows administrators to completely disable username/password-based authentication. When this setting is active, users should only be able to log in via other configured authentication mechanisms (e.g., OpenID Connect).

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.