#15 Add app passwords

Closed
opened 3 months ago by skylarmt · 0 comments

There is no good way to easily implement two-factor auth in app APIs that authenticate with a username and password.

We need to add a UI tool and database table for app passwords. It should work like Nextcloud’s implementation, where a user can note what app/device the password is for, they see the password one time, and then in the future they can delete passwords if needed.

Modifying checkPassword() in User.lib.php should be enough to enable app passwords everywhere, although the web login flow should probably check for and refuse to accept app passwords.

There is no good way to easily implement two-factor auth in app APIs that authenticate with a username and password. We need to add a UI tool and database table for app passwords. It should work like Nextcloud's implementation, where a user can note what app/device the password is for, they see the password one time, and then in the future they can delete passwords if needed. Modifying `checkPassword()` in `User.lib.php` should be enough to enable app passwords everywhere, although the web login flow should probably check for and refuse to accept app passwords.
skylarmt added this to the Version 2.2 milestone 3 months ago
skylarmt self-assigned this 3 months ago
skylarmt added the
enhancement
label 3 months ago
skylarmt referenced this issue from a commit 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.