Skip to content

[Mandatory 2FA] Spec: Admin 2FA support provider #11020

@ChristophWurst

Description

@ChristophWurst

Mandatory 2FA in Nextcloud 15

Overview/progress board: https://github.com/orgs/nextcloud/projects/17

🚀


Specification: Admin 2FA support provider

For Nextcloud 15, we want to have a clean, secure and less error-prone way to help admins in unlocking user accounts where users lost access to one of their second factors. This should make both admins and users happy.

Overview

This will be a new 2FA provider where you have to enter a code (number?) on the second factor page. It will be registered like any other provider and could therefore be used as an alternative (no access to other factors) or singular second factor (2FA enforced, no other login allowed).

The app could be either just enabled by default or enabled on demand (when admins generate a code, disabled after successful code usage).

Admin interface

The admin should have an interface where they can enter a username. If the username is valid, the system shall generate and display a new code. The admin tells the user the code (via an undefined channel, e.g. telephone). Note: The admin does not have to wait for the user to log in.

This could be added to the admin 2FA settings section as well as an occ command (ref #11019).

Open questions

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions