authgear / authgear/authgear-server

[Portal, Wizard] If user selects to Disable 2FA in create project wizard, it should disable the 2FA options

Open
#3,148 1 comment 0 reactions 1 assignee Claimed by @tung2744 View on GitHub
reported by qa ux/minor
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

## Background
- Environment: Staging
- Test account: joyz+demo1@oursky.com
- Test project: smart-swallow-805 - https://smart-swallow-805.authgear-staging.com

## Description
When user creates a new project, on the wizard step 3/3 - setup 2FA, if user selects Disable 2FA, he/she should not need to select how user perform 2FA.

Suggest disabling the radio buttons in "how user perform 2FA" if user selects to "Disable 2FA".

Also when user enters the 2FA pages, the options are all selectable even when user has chosen to disable 2FA, which will be a bit confusing as there should be no effect no matter what he/she chooses.

## Steps to reproduce
1. Login to portal
2. Create a new project
3. Click Next on step 1 and 2 on the create wizard
4. On step 3 - setup 2FA, select "Custom settings"
5. For "Require 2FA to sign in?", select "Disable 2FA, users will never use 2FA to sign in"
6. User still needs to select "How should a user perform 2FA?" after that

## Expected result
When user selects "Disable 2FA, users will never use 2FA to sign in", disable the 2FA options below and in later pages.

## Screenshot
Screenshot 2023-06-20 at 12 32 23 PM

Screenshot 2023-06-20 at 1 52 56 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.