nextcloud / nextcloud/twofactor_gateway

RFE: Admin settings to choose 2FA system

Open
#273 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
PHP
Stars
122
Forks
63
Avg merge
3d 17h
Merged PRs (30d)
23

Description

In an organisational deployment 2FA may be mandatory, and almost certainly the organisation will have a preferred (required!) 2FA solution. At that point it doesn't make sense to let the user have the choice of 2FA systems and the user settings section should have only the backup code.

So feature would be an admin section for the 2FA, where the admin chooses the 2FA solution, with some warnings as relevant to check that users have phone numbers, or whatever the dependency is, configured in the user's account.

Ideally the user account admin side will be extended to allow admins to add the related information on user creation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the existing administrator settings, user settings, user-creation flow, and 2FA provider selection, then establish how provider-specific prerequisites are represented. Done means an administrator can select the required 2FA solution, users see only the applicable backup option, and relevant account information can be supplied during user creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.