justinmayer / kagi

WebAuthn security keys and TOTP multi-factor authentication for Django
BSD 2-Clause "Simplified" License
91 stars 10 forks source link

Add a name to the TOTP devices #61

Open MarkusH opened 1 year ago

MarkusH commented 1 year ago

Right now, a TOTP device does not have a name. With multiple devices per user, it can easily be confusing when listing them, to decide, which one to delete.

We should evaluate if we want to add a name to the TOTPDevice model.

prateekaryyan commented 1 year ago

Hi @MarkusH , I can take this issue, can you guide me on what is the requirement.

MarkusH commented 1 year ago

Hi @MarkusH , I can take this issue, can you guide me on what is the requirement.

Hi @prateekaryyan. Essentially, when adding a TOTP device, one should be able to assign it a name to be able to identify the token generator. For example, a user could use two different generators. In the device list, they want to remove one. Currently, it's not possible to easily determine which of the devices is which.