nextcloud / nextcloud/twofactor_gateway

Make it possible to set up a provider at login

Open
#289 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

With recently released NC17, one feature I like and use is the Enforce 2FA - the new feature is whereby a new user logs in for the first time and they get the option to setup 2FA (rather than just locking them out as it used to).

The issue is, the TwoFactor Gateway isn't one of the options - I have the gateway configured with SMS (all working), as well as TOTP. Only the TOTP option is given for a new user.

I'd like for the SMS to become primary eventually, but cannot if a new user cannot set it up

Thanks

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

Start by tracing the first-login enforced-2FA flow and comparing how the existing TOTP provider is offered for setup. Confirm how the TwoFactor Gateway SMS provider is registered and make the provider available during that flow, with successful first-time SMS setup as the completion check.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.