#15 Add app passwords

Closed
opened 1 year ago by skylarmt · 0 comments
skylarmt commented 1 year ago

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 1 year ago
skylarmt self-assigned this 1 year ago
skylarmt added the
enhancement
label 1 year ago
skylarmt referenced this issue from a commit 1 year 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.