goauthentik / goauthentik/authentik
Selecting one MFA device selects one of every device class
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 651
Description
## What
MFA device rows share numeric PKs across device classes, so selecting one device selects one of each type.
## Want
- MFA device rows share numeric PKs across device classes, so selecting one device selects one of each type
## Ideas this came from
- [#18232 MFA Devices menu: selection not working correctly when IDs from different types overlap](https://github.com/goauthentik/authentik/issues/18232) — The primary keys of MFA devices of different type are independent. So, a single user can have a TOTP MFA device with primary key 1 and a WebAuthn device with pr
- [#19143 User Settings: Selecting one MFA Devices selects nearly all MFA devices at once](https://github.com/goauthentik/authentik/issues/19143) — When selecting just one single MFA device in User Settings - MFA Devices, it does select multiple MFA devices at once. Seemingly one per type. Screencast: Image
Contributor guide
Research direction
Start in User Settings → MFA Devices and inspect how MFA device rows identify selected items across device classes. Reproduce the issue with devices whose numeric IDs overlap, then verify that selecting one row selects only that device and not matching IDs from other classes.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100