nextcloud / nextcloud/server

add function to select a primary 2FA provider/slim down 2FA dialog

Open
#13,797 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop design enhancement feature: authentication
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Expected behavior

If a user has multiple 2FA providers enabled, all of them are shown on one single login screen, which might result in an overloaded login mask (check out "Current behavior" below). It might be a good idea to add a function to define a primary 2FA provider and show all alternative providers under a separate menu point.

Mock-up of a possible layout:
20190124_nc_2fa-3 - mock-up

Current behavior

Login screen with multiple 2FA providers enabled:
20190124_nc_2fa-1

Login screens which are shown once a 2FA provider has been selected:
20190124_nc_2fa-2
or
20190124_nc_2fa-3

Environment

Server Configuration

OS: Linux 3.16.50
Web server: Apache2 2.4.37
Database: MariaDB 10.2.19
PHP version: 7.2.14
Nextcloud version: 15.0.2

Client Configuration

Browser: Mozilla Firefox 64.0.2
Operating system: Windows 10

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 reviewing the existing 2FA login flow and the provider-selection screens shown in the issue. Done would mean a defined primary provider path with alternative providers available separately, while keeping the authentication flow usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, frontend
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.